From 7edc9f90b5b219982b4a9d574bfd96aeb02039eb Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 15 Jul 2023 17:17:31 +0300 Subject: [PATCH] add nemo --- hosts/sakotop/configuration.nix | 1 + modules/desktop/apps/default.nix | 1 + modules/desktop/apps/nemo/default.nix | 16 ++++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 modules/desktop/apps/nemo/default.nix diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 976b01b4..057b7dad 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -26,6 +26,7 @@ firefox.enable = true; }; apps = { + nemo.enable = true; keepassxc.enable = true; kdeconnect.enable = true; nicotineplus.enable = true; diff --git a/modules/desktop/apps/default.nix b/modules/desktop/apps/default.nix index fdc90863..81cecc0b 100644 --- a/modules/desktop/apps/default.nix +++ b/modules/desktop/apps/default.nix @@ -3,5 +3,6 @@ ./keepassxc ./nicotineplus ./kdeconnect + ./nemo ]; } diff --git a/modules/desktop/apps/nemo/default.nix b/modules/desktop/apps/nemo/default.nix new file mode 100644 index 00000000..99f753bf --- /dev/null +++ b/modules/desktop/apps/nemo/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.apps.nemo; +in +{ + options.modules.desktop.apps.nemo = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + cinnamon.nemo + ]; + }; +}