diff --git a/homeManagerModules/options.nix b/homeManagerModules/options.nix index 5133dd42..4ffdc638 100644 --- a/homeManagerModules/options.nix +++ b/homeManagerModules/options.nix @@ -44,8 +44,11 @@ wlogout.enable = lib.mkEnableOption "Wlogout session prompt."; }; defaultApps = { - enable = - lib.mkEnableOption "Set default apps and file associations."; + enable = lib.mkOption { + description = "Declaratively set default apps and file associations."; + default = config.alyraffauf.desktop.enable; + type = lib.types.bool; + }; webBrowser = { exe = lib.mkOption { description = "Default web browser executable name."; diff --git a/homes/aly.nix b/homes/aly.nix index 3ffa9814..5004ab5c 100644 --- a/homes/aly.nix +++ b/homes/aly.nix @@ -148,7 +148,6 @@ }; defaultApps = { - enable = true; webBrowser = { package = config.programs.chromium.package; desktop = "brave-browser.desktop"; diff --git a/homes/dustin.nix b/homes/dustin.nix index f0e9bb72..1e2ac31e 100644 --- a/homes/dustin.nix +++ b/homes/dustin.nix @@ -40,7 +40,6 @@ fzf.enable = true; vsCodium.enable = true; }; - defaultApps.enable = true; desktop = { hyprland = { randomWallpaper = false; diff --git a/homes/morgan.nix b/homes/morgan.nix index 6dc891ac..560f05e6 100644 --- a/homes/morgan.nix +++ b/homes/morgan.nix @@ -38,7 +38,6 @@ fzf.enable = true; vsCodium.enable = true; }; - defaultApps.enable = true; theme = { gtk = { name = "Catppuccin-Frappe-Compact-Mauve-Dark";