diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/default.nix | 1 | ||||
-rw-r--r-- | sys/packages/default.nix | 2 | ||||
-rw-r--r-- | sys/services/default.nix | 1 | ||||
-rw-r--r-- | sys/services/flatpak/default.nix | 8 | ||||
-rw-r--r-- | sys/services/greetd/default.nix | 4 | ||||
-rw-r--r-- | sys/services/logind/default.nix | 12 | ||||
-rw-r--r-- | sys/sound/default.nix | 11 | ||||
-rw-r--r-- | sys/systemd/default.nix | 2 |
8 files changed, 15 insertions, 26 deletions
diff --git a/sys/default.nix b/sys/default.nix index 0eeeb35..ac71548 100644 --- a/sys/default.nix +++ b/sys/default.nix @@ -2,7 +2,6 @@ imports = [ ./packages ./services - ./sound ./systemd ./users ./virtualisation diff --git a/sys/packages/default.nix b/sys/packages/default.nix index 666fb21..93ec0c5 100644 --- a/sys/packages/default.nix +++ b/sys/packages/default.nix @@ -18,5 +18,7 @@ mosh # ssh in great zsh-you-should-use # reminder for aliasses + + adwaita-icon-theme ]; } diff --git a/sys/services/default.nix b/sys/services/default.nix index 7546fcc..22c7621 100644 --- a/sys/services/default.nix +++ b/sys/services/default.nix @@ -1,5 +1,6 @@ {...}: { imports = [ + ./flatpak ./fwupd ./greetd ./logind diff --git a/sys/services/flatpak/default.nix b/sys/services/flatpak/default.nix index 47f50b8..0cc6108 100644 --- a/sys/services/flatpak/default.nix +++ b/sys/services/flatpak/default.nix @@ -4,8 +4,8 @@ device = "/srv/flatpak"; options = ["bind"]; }; - #xdg.portal = { - # enable = true; - # extraPortals = [pkgs.xdg-desktop-portal-gtk]; - # }; + xdg.portal = { + enable = true; + extraPortals = [pkgs.xdg-desktop-portal-gtk]; + }; } diff --git a/sys/services/greetd/default.nix b/sys/services/greetd/default.nix index 9b9d5f6..f94828f 100644 --- a/sys/services/greetd/default.nix +++ b/sys/services/greetd/default.nix @@ -4,10 +4,10 @@ restart = true; settings = { default_session = { - command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd Hyprland"; + command = "${pkgs.tuigreet}/bin/tuigreet --cmd Hyprland"; }; sway_session = { - command = "${pkgs.greetd.tuigreet}/bin/tuigreetswayway"; + command = "${pkgs.tuigreet}/bin/tuigreetswayway"; }; }; }; diff --git a/sys/services/logind/default.nix b/sys/services/logind/default.nix index a3dd040..b883bcb 100644 --- a/sys/services/logind/default.nix +++ b/sys/services/logind/default.nix @@ -1,10 +1,8 @@ {...}: { - services.logind = { - lidSwitch = "suspend-then-hibernate"; - extraConfig = '' - IdleAction=ignore - HandlePowerKey=hibernate - HandlePowerKeyLongPress=poweroff - ''; + services.logind.settings.Login = { + HandleLidSwitch = "suspend-then-hibernate"; + IdleAction = "ignore"; + HandlePowerKey = "hibernate"; + HandlePowerKeyLongPress = "poweroff"; }; } diff --git a/sys/sound/default.nix b/sys/sound/default.nix deleted file mode 100644 index 3007098..0000000 --- a/sys/sound/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{...}: { - services.pipewire = { - enable = true; - alsa = { - enable = true; - support32Bit = true; - }; - pulse.enable = true; - jack.enable = true; - }; -} diff --git a/sys/systemd/default.nix b/sys/systemd/default.nix index 2325e4c..b7bdbfb 100644 --- a/sys/systemd/default.nix +++ b/sys/systemd/default.nix @@ -1,5 +1,5 @@ {...}: { systemd.sleep.extraConfig = '' - HibernateDelaySec=5m + HibernateDelaySec=10m ''; } |