From 07af751ba8cccf8009cf3586f07d746141f2ebab Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 23 Apr 2023 07:21:23 -0400 Subject: add nixinate --- hosts/default.nix | 11 ++++++++++- hosts/p-body/default.nix | 6 +++++- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'hosts') diff --git a/hosts/default.nix b/hosts/default.nix index 97574c5..7b13c1b 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -45,7 +45,7 @@ in { nixos-hardware.nixosModules.common-gpu-nvidia-nonprime nixos-hardware.nixosModules.common-pc-ssd lanzaboote.nixosModules.lanzaboote - (import "${self}/modules/nixos/virtualisation") + (import "${self}/modules/nixos/virtualisation.nix") ]; }; glados-wsl = { @@ -81,7 +81,16 @@ in { pbodyPassword.file = "${self}/users/_secrets/pbodyPassword.age"; }; }; + nixos.enable = true; + + _module.args.nixinate = { + host = "167.99.145.73"; + sshUser = "root"; + buildOn = "remote"; + substituteOnTarget = true; + hermetic = false; + }; } ]; }; diff --git a/hosts/p-body/default.nix b/hosts/p-body/default.nix index 3ee026f..4e3d7b7 100644 --- a/hosts/p-body/default.nix +++ b/hosts/p-body/default.nix @@ -10,11 +10,15 @@ ]; base = { + enable = true; documentation.enable = false; defaultPackages.enable = false; }; - nixos.networking.enable = false; + nixos = { + enable = true; + networking.enable = false; + }; networking = { hostName = "p-body"; -- cgit v1.2.3