summaryrefslogtreecommitdiff
path: root/systems/atlas
diff options
context:
space:
mode:
Diffstat (limited to 'systems/atlas')
-rw-r--r--systems/atlas/default.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix
index 9f2f6b0..df55b62 100644
--- a/systems/atlas/default.nix
+++ b/systems/atlas/default.nix
@@ -1,4 +1,8 @@
-{modulesPath, ...}: {
+{
+ config,
+ modulesPath,
+ ...
+}: {
imports = [
(modulesPath + "/profiles/minimal.nix")
./hardware-configuration.nix
@@ -7,6 +11,14 @@
./teawiebot.nix
];
+ _module.args.nixinate = {
+ host = config.networking.hostName;
+ sshUser = "root";
+ buildOn = "remote";
+ substituteOnTarget = true;
+ hermetic = false;
+ };
+
archetypes.server.enable = true;
base.networking.enable = false;