mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:13:54 -05:00
home: drop enable flag from sway.randomWallpaper
This commit is contained in:
parent
804b564001
commit
cbdd5f9976
|
@ -20,7 +20,6 @@
|
|||
firefox.enable = lib.mkDefault true;
|
||||
kanshi.enable = lib.mkDefault true;
|
||||
};
|
||||
desktop.sway.randomWallpaper.enable = lib.mkDefault true;
|
||||
};
|
||||
# Packages that should be installed to the user profile.
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
'';
|
||||
in {
|
||||
options = {
|
||||
alyraffauf.desktop.sway.randomWallpaper.enable =
|
||||
alyraffauf.desktop.sway.randomWallpaper =
|
||||
lib.mkEnableOption "Enable Sway random wallpaper script.";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.alyraffauf.desktop.sway.randomWallpaper.enable {
|
||||
config = lib.mkIf config.alyraffauf.desktop.sway.randomWallpaper {
|
||||
# Packages that should be installed to the user profile.
|
||||
home.packages = with pkgs; [swaybg sway-randomWallpaper];
|
||||
|
||||
|
|
Loading…
Reference in a new issue