From f82f26c31fddb931e44010a85c51db82c33ff0dc Mon Sep 17 00:00:00 2001 From: punkfairie Date: Thu, 6 Mar 2025 19:30:59 -0800 Subject: [PATCH] feat(home): Install Nemo --- modules/home/options/apps/default.nix | 5 +++++ modules/home/programs/gui/default.nix | 1 + modules/home/programs/gui/nemo/default.nix | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 modules/home/programs/gui/nemo/default.nix diff --git a/modules/home/options/apps/default.nix b/modules/home/options/apps/default.nix index dc56b81..865950f 100644 --- a/modules/home/options/apps/default.nix +++ b/modules/home/options/apps/default.nix @@ -55,6 +55,11 @@ in { description = "The terminal emulator to use."; }; + file-browser = lib.mkOption { + type = lib.types.package; + description = "The file manager to use."; + }; + browser = lib.mkOption { type = lib.types.package; default = config.programs.floorp.package; diff --git a/modules/home/programs/gui/default.nix b/modules/home/programs/gui/default.nix index 373261a..0e90a62 100644 --- a/modules/home/programs/gui/default.nix +++ b/modules/home/programs/gui/default.nix @@ -15,6 +15,7 @@ in { calibre = enabled; discord = enabled; floorp = enabled; + nemo = enabled; pidgin = enabled; thunderbird = enabled; phpstorm = enabled; diff --git a/modules/home/programs/gui/nemo/default.nix b/modules/home/programs/gui/nemo/default.nix new file mode 100644 index 0000000..917c281 --- /dev/null +++ b/modules/home/programs/gui/nemo/default.nix @@ -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; + }; +}