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."; wlogout.enable = lib.mkEnableOption "Wlogout session prompt.";
}; };
defaultApps = { defaultApps = {
enable = enable = lib.mkOption {
lib.mkEnableOption "Set default apps and file associations."; description = "Declaratively set default apps and file associations.";
default = config.alyraffauf.desktop.enable;
type = lib.types.bool;
};
webBrowser = { webBrowser = {
exe = lib.mkOption { exe = lib.mkOption {
description = "Default web browser executable name."; description = "Default web browser executable name.";

View file

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

View file

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

View file

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