about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;
     };
   };
 }