From 815c6190e1be404c798dbaf4382835c37f2ffdb9 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Mon, 14 Nov 2022 21:23:06 +0100 Subject: [PATCH] feat: add niflheim to flake --- flake.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/flake.nix b/flake.nix index 51135dc..ee031a4 100644 --- a/flake.nix +++ b/flake.nix @@ -87,6 +87,16 @@ # ./profiles/tabea ]; + nilfheim = mkComputer + ./machines/niflheim + "x86_64-linux" + [ + ./profiles/thomas + # ./profiles/anna + # ./profiles/adrian + # ./profiles/tabea + ]; + asgard = mkComputer ./machines/asgard "x86_64-linux" @@ -120,12 +130,25 @@ }; chnum = self.nixosConfigurations.chnum.config.system.build.toplevel; + niflheim = self.nixosConfigurations.niflheim.config.system.build.toplevel; asgard = self.nixosConfigurations.asgard.config.system.build.toplevel; utgard = self.nixosConfigurations.utgard.config.system.build.toplevel; midgard = self.nixosConfigurations.midgard.config.system.build.toplevel; deploy = { nodes = { + nilfheim = { + sshOpts = [ "-p" "22" ]; + hostname = "192.168.64.4"; + fastConnection = true; + + profiles.system = { + sshUser = "admin"; + user = "root"; + path = deployrs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.niflheim; + }; + }; + asgard = { sshOpts = [ "-p" "22" ]; hostname = "192.168.1.10";