about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-06-06 12:55:48 +0200
committerSoispha <soispha@vhack.eu>2023-06-06 12:55:48 +0200
commita2a5ee2f180caaf84c25df79ebdedd06f28dde90 (patch)
tree0a6b5a68337f6ad8ccef483ebf8ed6fb3e00892a
parentFix(hm/conf/swaylock): Switch to different wp (diff)
downloadnixos-config-a2a5ee2f180caaf84c25df79ebdedd06f28dde90.tar.gz
nixos-config-a2a5ee2f180caaf84c25df79ebdedd06f28dde90.zip
Feat(system/services/serverphone): Add
Diffstat (limited to '')
-rw-r--r--flake.nix13
-rw-r--r--flake/default.nix3
-rw-r--r--system/services/serverphone/default.nix7
3 files changed, 23 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 35e47226..7f6f1f3c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -70,6 +70,17 @@
       url = "github:nix-community/nixos-generators";
       inputs.nixpkgs.follows = "nixpkgs";
     };
+    serverphone = {
+      url = "git+https://codeberg.org/vhack.eu/serverphone.git";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+        systems.follows = "systems";
+        flake-compat.follows = "flake-compat";
+        flake-utils.follows = "flake-utils";
+        rust-overlay.follows = "rust-overlay";
+        crane.follows = "crane";
+      };
+    };
 
     # my configs
     neovim_config = {
@@ -195,6 +206,7 @@
     impermanence,
     agenix,
     ragenix,
+    serverphone,
     # external dependencies
     neovim_config,
     user_js,
@@ -233,6 +245,7 @@
         impermanence
         agenix
         ragenix
+        serverphone
         # external dependencies
         
         neovim_config
diff --git a/flake/default.nix b/flake/default.nix
index b3e18ca7..87c82223 100644
--- a/flake/default.nix
+++ b/flake/default.nix
@@ -11,6 +11,7 @@
   impermanence,
   agenix,
   ragenix,
+  serverphone,
   # external dependencies
   neovim_config,
   user_js,
@@ -67,6 +68,8 @@
     agenix.nixosModules.default
     ageConfig
 
+    serverphone.nixosModules.default
+
     home-manager.nixosModules.home-manager
 
     homeManagerConfig
diff --git a/system/services/serverphone/default.nix b/system/services/serverphone/default.nix
new file mode 100644
index 00000000..6ad0fbdf
--- /dev/null
+++ b/system/services/serverphone/default.nix
@@ -0,0 +1,7 @@
+{...}: {
+  services.serverphone = {
+    enable = true;
+  };
+}
+# vim: ts=2
+