init options, move ralph, fix wallpapers
This commit is contained in:
parent
401109204b
commit
85dd534f53
15 changed files with 123 additions and 181 deletions
|
|
@ -13,23 +13,14 @@
|
|||
self.nixosModules.wallpapers
|
||||
];
|
||||
|
||||
options.niri-users = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
description = "List of users to configure niri for";
|
||||
};
|
||||
|
||||
config = {
|
||||
programs.niri = {
|
||||
enable = true;
|
||||
package = self.packages.${pkgs.stdenv.hostPlatform.system}.myNiri;
|
||||
};
|
||||
|
||||
# Enable cursors for niri users
|
||||
cursor-users = lib.mkDefault config.niri-users;
|
||||
|
||||
# Set wallpaper destination explicitly
|
||||
wallpaper-destination = "Pictures/Wallpapers";
|
||||
wallpaper-destinations = [ "Pictures/Wallpapers" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue