nemo/thunar: enable module if default fileManager

This commit is contained in:
Aly Raffauf 2024-06-22 00:01:11 -04:00
parent c3a317253e
commit f472fc383e
3 changed files with 10 additions and 8 deletions

View file

@ -5,11 +5,6 @@
... ...
}: { }: {
config = lib.mkIf config.alyraffauf.desktop.cinnamon.enable { config = lib.mkIf config.alyraffauf.desktop.cinnamon.enable {
alyraffauf = {
apps = {
nemo.enable = lib.mkDefault true;
};
};
dconf = { dconf = {
enable = true; enable = true;
settings = { settings = {

View file

@ -9,7 +9,6 @@
apps = { apps = {
fuzzel.enable = lib.mkDefault true; fuzzel.enable = lib.mkDefault true;
mako.enable = lib.mkDefault true; mako.enable = lib.mkDefault true;
nemo.enable = lib.mkDefault true;
swaylock.enable = lib.mkDefault true; swaylock.enable = lib.mkDefault true;
waybar.enable = lib.mkDefault true; waybar.enable = lib.mkDefault true;
wlogout.enable = lib.mkDefault true; wlogout.enable = lib.mkDefault true;

View file

@ -34,11 +34,19 @@
}; };
librewolf.enable = lib.mkEnableOption "Librewolf web browser."; librewolf.enable = lib.mkEnableOption "Librewolf web browser.";
mako.enable = lib.mkEnableOption "Mako notification daemon."; mako.enable = lib.mkEnableOption "Mako notification daemon.";
nemo.enable = lib.mkEnableOption "Cinnamon Nemo file manager."; nemo.enable = lib.mkOption {
description = "Cinnamon Nemo file manager.";
default = config.alyraffauf.defaultApps.fileManager.package == pkgs.cinnamon.nemo;
type = lib.types.bool;
};
neofetch.enable = lib.mkEnableOption "Neofetch."; neofetch.enable = lib.mkEnableOption "Neofetch.";
neovim.enable = lib.mkEnableOption "Neovim text editor."; neovim.enable = lib.mkEnableOption "Neovim text editor.";
swaylock.enable = lib.mkEnableOption "Swaylock screen locker."; swaylock.enable = lib.mkEnableOption "Swaylock screen locker.";
thunar.enable = lib.mkEnableOption "Thunar file manager."; thunar.enable = lib.mkOption {
description = "Thunar file manager.";
default = config.alyraffauf.defaultApps.fileManager.package == pkgs.xfce.thunar;
type = lib.types.bool;
};
tmux.enable = lib.mkEnableOption "Tmux shell session manager."; tmux.enable = lib.mkEnableOption "Tmux shell session manager.";
vsCodium.enable = lib.mkEnableOption "VSCodium text editor."; vsCodium.enable = lib.mkEnableOption "VSCodium text editor.";
waybar.enable = lib.mkEnableOption "Waybar wayland panel."; waybar.enable = lib.mkEnableOption "Waybar wayland panel.";