From 98a576a4d72ad86f8d97acb34795fd7dc38f8f24 Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 26 Feb 2023 22:31:53 +0100 Subject: [PATCH] modules/nixfiles: stage added config --- modules/nixfiles/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/nixfiles/default.nix b/modules/nixfiles/default.nix index 7b4829e..db40132 100644 --- a/modules/nixfiles/default.nix +++ b/modules/nixfiles/default.nix @@ -48,6 +48,8 @@ let fi sed -i "s/\%HOSTNAME\%/''${hostname}/g" ''${root}/etc/nixos/hosts/''${hostname}/configuration.nix + + git -C ''${root}/etc/nixos add ''${root}/etc/nixos/hosts/''${hostname} ''; in {