chore: fix typos; build niri less eagerly

This commit is contained in:
Leon Schwarzäugl 2025-11-13 23:40:41 +01:00
parent 910fef4914
commit f950ea97be
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
6 changed files with 232 additions and 210 deletions

View file

@ -4,22 +4,27 @@ let
in
{
options.swarselmodules.${moduleName} = lib.mkEnableOption "${moduleName} settings";
config = lib.mkIf config.swarselmodules.${moduleName} {
config = lib.mkIf config.swarselmodules.${moduleName}
{
environment.systemPackages = with pkgs; [
wl-clipboard
wayland-utils
libsecret
cage
gamescope
xwayland-satellite-unstable
];
environment.systemPackages = with pkgs; [
wl-clipboard
wayland-utils
libsecret
cage
gamescope
xwayland-satellite-unstable
];
programs.niri = {
enable = true;
package = pkgs.niri-unstable; # the actual niri that will be installed and used
};
} // {
niri-flake.cache.enable = true;
programs.niri = {
enable = true;
package = pkgs.niri-unstable; # the actual niri that will be installed and used
package = null;
};
};
}