summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-12-23 22:57:37 +0100
committerSilas Schöffel <sils@sils.li>2024-12-23 22:57:37 +0100
commit932f9a9e1320569e8dfea3a2a70b01bb290aa47d (patch)
treec43d6226b550451a465cd52ba0b9bfb9a999a74d
parentbasesystem: disable systemd in initrd (diff)
downloadnix-config-932f9a9e1320569e8dfea3a2a70b01bb290aa47d.tar.gz
nix-config-932f9a9e1320569e8dfea3a2a70b01bb290aa47d.zip
hm: add nextcloud-client HEAD main
-rw-r--r--hm/packages/default.nix2
-rw-r--r--hm/silas/default.nix1
-rw-r--r--hm/sils/default.nix1
-rw-r--r--modules/hm/sils/default.nix1
-rw-r--r--modules/hm/sils/nextcloud.nix16
5 files changed, 21 insertions, 0 deletions
diff --git a/hm/packages/default.nix b/hm/packages/default.nix
index 58e64b4..225d2e2 100644
--- a/hm/packages/default.nix
+++ b/hm/packages/default.nix
@@ -46,6 +46,8 @@ in {
 
     networkmanagerapplet
 
+    nextcloud-client
+
     grim # screenshots
     slurp # select utility
 
diff --git a/hm/silas/default.nix b/hm/silas/default.nix
index 5b0881d..e108aa4 100644
--- a/hm/silas/default.nix
+++ b/hm/silas/default.nix
@@ -36,6 +36,7 @@
     jameica.enable = true;
     kdeconnect.enable = true;
     mail.enable = true;
+    nextcloud.enable = true;
     sway.enable = true;
     yt-dlp.enable = true;
     zathura.enable = true;
diff --git a/hm/sils/default.nix b/hm/sils/default.nix
index 26c51d0..a078a7b 100644
--- a/hm/sils/default.nix
+++ b/hm/sils/default.nix
@@ -36,6 +36,7 @@
     jameica.enable = true;
     kdeconnect.enable = true;
     mail.enable = true;
+    nextcloud.enable = true;
     sway.enable = true;
     yt-dlp.enable = true;
     zathura.enable = true;
diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix
index 1cad7bc..a3ff1ed 100644
--- a/modules/hm/sils/default.nix
+++ b/modules/hm/sils/default.nix
@@ -10,6 +10,7 @@
     ./jameica.nix
     ./kdeconnect.nix
     ./mail.nix
+    ./nextcloud.nix
     ./sway.nix
     ./yt-dlp.nix
     ./zathura.nix
diff --git a/modules/hm/sils/nextcloud.nix b/modules/hm/sils/nextcloud.nix
new file mode 100644
index 0000000..f71eb21
--- /dev/null
+++ b/modules/hm/sils/nextcloud.nix
@@ -0,0 +1,16 @@
+{
+  config,
+  lib,
+  ...
+}: let
+  cfg = config.sils.nextcloud;
+in {
+  options.sils.nextcloud.enable = lib.mkEnableOption "the nextcloud desktop
+  client";
+  config = lib.mkIf cfg.enable {
+    services.nextcloud-client = {
+      enable = true;
+      startInBackground = true;
+    };
+  };
+}