aboutsummaryrefslogtreecommitdiff
path: root/modules/system/quickshell.nix
diff options
context:
space:
mode:
authorLeander Scherer <leander@schererleander.de>2026-05-18 21:48:24 +0200
committerLeander Scherer <leander@schererleander.de>2026-05-28 22:42:07 +0200
commit9a7cf1242d296dbdb9c03df48ab09054960295aa (patch)
treef1a2d5c77ef6bdb049c995afcc4c663c1ffd1373 /modules/system/quickshell.nix
parent3ef8b4973bcae26445f99467d50ad75730d204b5 (diff)
feat(quickshell): basic bar, tray, notification
Diffstat (limited to 'modules/system/quickshell.nix')
-rw-r--r--modules/system/quickshell.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/modules/system/quickshell.nix b/modules/system/quickshell.nix
new file mode 100644
index 0000000..766c250
--- /dev/null
+++ b/modules/system/quickshell.nix
@@ -0,0 +1,39 @@
+{ inputs, ... }:
+{
+ flake.modules.homeManager.quickshell =
+ { pkgs, config, ... }:
+ {
+ home.packages = [
+ pkgs.inter
+ pkgs.brightnessctl
+ pkgs.adwaita-icon-theme
+ pkgs.hicolor-icon-theme
+ ];
+
+ programs.quickshell = {
+ enable = true;
+ package = inputs.quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default;
+ activeConfig = "bar";
+ configs.bar = ./quickshell;
+ systemd.enable = true;
+ };
+
+ systemd.user.services.quickshell = {
+ Service.Environment = [
+ "PATH=${pkgs.sway}/bin:${pkgs.pipewire}/bin:${pkgs.wireplumber}/bin:${pkgs.brightnessctl}/bin:${config.home.profileDirectory}/bin:/run/current-system/sw/bin"
+ "XDG_DATA_DIRS=${pkgs.adwaita-icon-theme}/share:${pkgs.hicolor-icon-theme}/share:${config.home.profileDirectory}/share:/run/current-system/sw/share"
+ ];
+ };
+ };
+
+ flake.modules.nixos.quickshell =
+ { pkgs, ... }:
+ {
+ security.pam.services.quickshell = {
+ text = ''
+ auth required pam_unix.so
+ account required pam_unix.so
+ '';
+ };
+ };
+}