diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index b19392e1..05dd5490 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -40,6 +40,7 @@ kindle-comic-converter.enable = true; mangal.enable = true; obs.enable = true; + nextcloud.enable = true; }; chat = { discord.enable = true; diff --git a/modules/desktop/apps/default.nix b/modules/desktop/apps/default.nix index 8b39b24d..2d4a7104 100644 --- a/modules/desktop/apps/default.nix +++ b/modules/desktop/apps/default.nix @@ -10,5 +10,6 @@ ./calibre ./mangal ./obs + ./nextcloud ]; } diff --git a/modules/desktop/apps/nextcloud/default.nix b/modules/desktop/apps/nextcloud/default.nix new file mode 100644 index 00000000..10e7d9ab --- /dev/null +++ b/modules/desktop/apps/nextcloud/default.nix @@ -0,0 +1,17 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.apps.nextcloud; +in +{ + options.modules.desktop.apps.nextcloud = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + nextcloud-client + ]; + + }; +}