mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 22:11:54 -05:00
home: add nemo module
This commit is contained in:
parent
a3a90ff90d
commit
307bc64853
|
@ -17,6 +17,7 @@
|
||||||
./keepassxc
|
./keepassxc
|
||||||
./librewolf
|
./librewolf
|
||||||
./mako
|
./mako
|
||||||
|
./nemo
|
||||||
./neofetch
|
./neofetch
|
||||||
./neovim
|
./neovim
|
||||||
./swaylock
|
./swaylock
|
||||||
|
|
23
homeManagerModules/apps/nemo/default.nix
Normal file
23
homeManagerModules/apps/nemo/default.nix
Normal 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);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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.";
|
||||||
|
|
Loading…
Reference in a new issue