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 {
alyraffauf = {
apps = {
nemo.enable = lib.mkDefault true;
};
};
dconf = {
enable = true;
settings = {

View file

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

View file

@ -34,11 +34,19 @@
};
librewolf.enable = lib.mkEnableOption "Librewolf web browser.";
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.";
neovim.enable = lib.mkEnableOption "Neovim text editor.";
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.";
vsCodium.enable = lib.mkEnableOption "VSCodium text editor.";
waybar.enable = lib.mkEnableOption "Waybar wayland panel.";