home: alyraffauf.defaultApps follows alyraffauf.desktop.enable

This commit is contained in:
Aly Raffauf 2024-06-21 20:19:51 -04:00
parent e6b54b7132
commit 2cc40ce071
4 changed files with 5 additions and 5 deletions

View file

@ -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.";

View file

@ -148,7 +148,6 @@
};
defaultApps = {
enable = true;
webBrowser = {
package = config.programs.chromium.package;
desktop = "brave-browser.desktop";

View file

@ -40,7 +40,6 @@
fzf.enable = true;
vsCodium.enable = true;
};
defaultApps.enable = true;
desktop = {
hyprland = {
randomWallpaper = false;

View file

@ -38,7 +38,6 @@
fzf.enable = true;
vsCodium.enable = true;
};
defaultApps.enable = true;
theme = {
gtk = {
name = "Catppuccin-Frappe-Compact-Mauve-Dark";