feat(home): Install Nemo
This commit is contained in:
parent
ed083f95f7
commit
f82f26c31f
3 changed files with 24 additions and 0 deletions
|
@ -55,6 +55,11 @@ in {
|
||||||
description = "The terminal emulator to use.";
|
description = "The terminal emulator to use.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
file-browser = lib.mkOption {
|
||||||
|
type = lib.types.package;
|
||||||
|
description = "The file manager to use.";
|
||||||
|
};
|
||||||
|
|
||||||
browser = lib.mkOption {
|
browser = lib.mkOption {
|
||||||
type = lib.types.package;
|
type = lib.types.package;
|
||||||
default = config.programs.floorp.package;
|
default = config.programs.floorp.package;
|
||||||
|
|
|
@ -15,6 +15,7 @@ in {
|
||||||
calibre = enabled;
|
calibre = enabled;
|
||||||
discord = enabled;
|
discord = enabled;
|
||||||
floorp = enabled;
|
floorp = enabled;
|
||||||
|
nemo = enabled;
|
||||||
pidgin = enabled;
|
pidgin = enabled;
|
||||||
thunderbird = enabled;
|
thunderbird = enabled;
|
||||||
phpstorm = enabled;
|
phpstorm = enabled;
|
||||||
|
|
18
modules/home/programs/gui/nemo/default.nix
Normal file
18
modules/home/programs/gui/nemo/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
cfg = config.marleyos.programs.nemo;
|
||||||
|
in {
|
||||||
|
options.marleyos.programs.nemo.enable = lib.mkEnableOption "nemo";
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
nemo
|
||||||
|
];
|
||||||
|
|
||||||
|
marleyos.apps.file-browser = pkgs.nemo;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue