about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-01-24 20:38:32 +0900
committersefidel <contact@sefidel.net>2024-01-24 20:38:32 +0900
commit101f70be1687f1bd87c61c60eee2dfe82b4462c8 (patch)
tree916708633518b156e651d011605ca839add739a8 /modules
parent7dfd6977aad6ddbb742c738d39daa388557b315b (diff)
downloadnixrc-101f70be1687f1bd87c61c60eee2dfe82b4462c8.tar.gz
nixrc-101f70be1687f1bd87c61c60eee2dfe82b4462c8.zip
chore(modules/services): update template
Diffstat (limited to 'modules')
-rw-r--r--modules/services/_template.nix14
1 files changed, 4 insertions, 10 deletions
diff --git a/modules/services/_template.nix b/modules/services/_template.nix
index b56d34f..c0c12c1 100644
--- a/modules/services/_template.nix
+++ b/modules/services/_template.nix
@@ -2,22 +2,16 @@
 
 with lib;
 let
-  cfg = config.modules.containers._template;
+  cfg = config.modules.services._template;
 in
 {
-  options.modules.containers._template = {
+  options.modules.services._template = {
     enable = mkEnableOption "";
   };
 
   config = mkIf cfg.enable {
-    containers._template = {
-      autoStart = true;
-      ephemeral = true; # XXX: false if the container isn't stateless
-      privateNetwork = true;
-      # XXX: more network setup (IP) needed here
-      config = { config, pkgs, ...}: {
-        system.stateVersion = "24.05";
-      };
+    services._template = {
+      enable = true;
     };
   };
 }