home: drop enable flag from sway.randomWallpaper

This commit is contained in:
Aly Raffauf 2024-04-20 15:27:27 -04:00
parent 804b564001
commit cbdd5f9976
2 changed files with 2 additions and 3 deletions

View file

@ -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; [

View file

@ -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];