refactor: move 'wlsunset' package into home manager module

This commit is contained in:
2026-03-11 21:25:22 +01:00
parent 9e9c2b5349
commit 62e62b8e20
2 changed files with 6 additions and 5 deletions
+6 -1
View File
@@ -1,8 +1,13 @@
{ pkgs, ... }:
{ {
imports = [ imports = [
../../fuzzel ../../fuzzel
../../waybar ../../waybar
]; ];
home.file.".config/niri/config.kdl".source = ./config.kdl; home = {
file.".config/niri/config.kdl".source = ./config.kdl;
packages = with pkgs; [ wlsunset ];
};
} }
-4
View File
@@ -1,5 +1,3 @@
{ pkgs, ... }:
{ {
programs.niri.enable = true; programs.niri.enable = true;
@@ -7,6 +5,4 @@
xdg = { xdg = {
portal.enable = true; portal.enable = true;
}; };
environment.systemPackages = with pkgs; [ wlsunset ];
} }