Move Nautilus in its own module
This commit is contained in:
parent
b362d0cf31
commit
f7acb8f2de
|
@ -14,6 +14,7 @@
|
|||
./programs/libimobiledevice
|
||||
./programs/lockscreen
|
||||
./programs/makemkv
|
||||
./programs/nautilus
|
||||
./programs/nix-direnv
|
||||
./programs/restic-management
|
||||
./programs/scripts
|
||||
|
|
|
@ -72,10 +72,10 @@ in
|
|||
sound.enable = true;
|
||||
|
||||
programs = {
|
||||
dconf.enable = true; # Enable dconf to be able to save Nautilus settings
|
||||
az-eog.enable = true; # Gnome Image Viewer
|
||||
az-hunspell.enable = true; # Enable dictionaries
|
||||
az-idevices.enable = true;
|
||||
az-nautilus.enable = true;
|
||||
az-nix-direnv.enable = true;
|
||||
az-scripts.enable = true;
|
||||
};
|
||||
|
@ -132,9 +132,6 @@ in
|
|||
firefox
|
||||
gnome.file-roller
|
||||
gnome.gnome-screenshot
|
||||
gnome.nautilus
|
||||
libheif.bin
|
||||
libheif.out
|
||||
lm_sensors
|
||||
lxappearance
|
||||
networkmanager-openvpn
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.programs.az-nautilus;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
programs.az-nautilus.enable = lib.mkEnableOption "Enable Nautilus";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
gnome.nautilus
|
||||
libheif.bin
|
||||
libheif.out
|
||||
];
|
||||
};
|
||||
programs = {
|
||||
dconf.enable = true; # Enable dconf to be able to save Nautilus settings
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue