diff --git a/home.nix b/home.nix index fa6446c..975d57e 100644 --- a/home.nix +++ b/home.nix @@ -384,6 +384,37 @@ }; swaylock.enable = true; waybar = { + enable = true; + systemd.enable = true; + settings = { + mainBar = { + layer = "top"; + position = "top"; + height = 36; + spacing = 3; + output = [ "DP-1" ]; + modules-left = [ + "sway/workspaces" + "sway/mode" + "sway/scratchpad" + "sway/window" + "custom/media" + ]; + modules-center = [ + "clock" + "idle_inhibitor" + ]; + modules-right = [ + "pulseaudio" + "backlight" + "network" + "tray" + "custom/notification" + "custom/power" + ]; + }; + }; + }; zoxide = { enable = true; }; @@ -434,6 +465,9 @@ } ]; }; + swayosd = { + enable = true; + }; syncthing = { enable = true; # dataDir = "/home/muhh/Sync"; diff --git a/hosts/cube.nix b/hosts/cube.nix index 89a72d7..bdc862e 100644 --- a/hosts/cube.nix +++ b/hosts/cube.nix @@ -52,8 +52,9 @@ }; security = { - rtkit.enable = true; pam.services.swaylock = {}; + polkit.enable = true; + rtkit.enable = true; }; services.envfs.enable = true; services.flatpak.enable = true; @@ -127,7 +128,10 @@ enable = true; enableSSHSupport = true; }; - light.enable = true; + light = { + enable = true; + brightnessKeys.enable = true; + }; sway.enable = true; }; virtualisation = { @@ -140,7 +144,15 @@ }; }; - xdg.portal.wlr.enable = true; + xdg = { + portal = { + enable = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-wlr + xdg-desktop-portal-gtk + ]; + }; + }; # Enable the OpenSSH daemon. # services.openssh.enable = true;