home: add nemo module

This commit is contained in:
Aly Raffauf 2024-06-21 22:14:07 -04:00
parent a3a90ff90d
commit 307bc64853
4 changed files with 27 additions and 6 deletions

View file

@ -17,6 +17,7 @@
./keepassxc ./keepassxc
./librewolf ./librewolf
./mako ./mako
./nemo
./neofetch ./neofetch
./neovim ./neovim
./swaylock ./swaylock

View file

@ -0,0 +1,23 @@
{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.alyraffauf.apps.nemo.enable {
home.packages = with pkgs; [
cinnamon.nemo
];
dconf = {
enable = true;
settings = {
"org/nemo/preferences".show-image-thumbnails = "always";
"org/nemo/preferences/menu-config".background-menu-open-as-root =
!(config.alyraffauf.desktop.hyprland.enable || config.alyraffauf.desktop.sway.enable);
"org/nemo/preferences/menu-config".selection-menu-open-as-root =
!(config.alyraffauf.desktop.hyprland.enable || config.alyraffauf.desktop.sway.enable);
};
};
};
}

View file

@ -9,24 +9,20 @@
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;
thunar.enable = lib.mkDefault true;
waybar.enable = lib.mkDefault true; waybar.enable = lib.mkDefault true;
wlogout.enable = lib.mkDefault true; wlogout.enable = lib.mkDefault true;
}; };
theme.enable = lib.mkDefault true;
defaultApps.enable = lib.mkDefault true;
}; };
dconf = { dconf = {
enable = true; enable = true;
settings = { settings = {
"org/gnome/nm-applet".disable-connected-notifications = true;
"org/nemo/preferences/menu-config".background-menu-open-as-root = false;
"org/nemo/preferences/menu-config".selection-menu-open-as-root = false;
"org/gnome/desktop/wm/preferences" = { "org/gnome/desktop/wm/preferences" = {
button-layout = ""; button-layout = "";
}; };
"org/gnome/nm-applet".disable-connected-notifications = true;
}; };
}; };

View file

@ -34,6 +34,7 @@
}; };
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.";
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.";