cleanup
This commit is contained in:
@@ -124,10 +124,15 @@ in
|
|||||||
cfg.display2.input
|
cfg.display2.input
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
if cfg.hyprpaper.usePerMonitor then
|
# if cfg.hyprpaper.usePerMonitor then
|
||||||
map (n: "${n}, ${cfg.hyprpaper.wallpaperPath}") names
|
# map (n: "${n}, ${cfg.hyprpaper.wallpaperPath}") names
|
||||||
else
|
# else
|
||||||
[ ", ${cfg.hyprpaper.wallpaperPath}" ];
|
[
|
||||||
|
{
|
||||||
|
monitor = "";
|
||||||
|
path = cfg.hyprpaper.wallpaperPath;
|
||||||
|
}
|
||||||
|
];
|
||||||
splash = false;
|
splash = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ in
|
|||||||
];
|
];
|
||||||
script = ''
|
script = ''
|
||||||
${wallpaper-command}
|
${wallpaper-command}
|
||||||
${lib.getExe' pkgs.hyprland "hyprctl"} hyprpaper reload ,${cfg.wallpaper}
|
${lib.getExe' pkgs.hyprland "hyprctl"} hyprpaper wallpaper ,${cfg.wallpaper},
|
||||||
'';
|
'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
|
|||||||
@@ -39,13 +39,6 @@ in
|
|||||||
"sd_mod"
|
"sd_mod"
|
||||||
];
|
];
|
||||||
|
|
||||||
luks.devices = {
|
|
||||||
cryptroot = {
|
|
||||||
device = "/dev/disk/by-partlabel/disk-main-matt-nixos-cryptroot";
|
|
||||||
allowDiscards = true; # Used if primary device is a SSD
|
|
||||||
preLVM = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPackages = kernel;
|
kernelPackages = kernel;
|
||||||
|
|||||||
Reference in New Issue
Block a user