From adae0be62a8f8639fcedc99197bc517ea9ade0e7 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 19 Sep 2023 21:30:11 +0900 Subject: [PATCH] Update git autoupgrade --- nixos/common/modules/nixos.nix | 2 +- setup.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/common/modules/nixos.nix b/nixos/common/modules/nixos.nix index 46be0a58..4ef774eb 100644 --- a/nixos/common/modules/nixos.nix +++ b/nixos/common/modules/nixos.nix @@ -8,7 +8,7 @@ enable = true; allowReboot = false; dates = "daily"; - flake = "path:/etc/nixos/flake.nix"; + flake = "git+file:/etc/nixos/flake.nix"; }; }; diff --git a/setup.sh b/setup.sh index ff0f80e6..9bbe1e0b 100755 --- a/setup.sh +++ b/setup.sh @@ -38,7 +38,6 @@ echo "" >> /etc/nixos/git/keys/ssh/keys.txt echo "# `whoami`@`hostname`" >> /etc/nixos/git/keys/ssh/keys.txt cat /home/albert/.ssh/id_rsa.pub >> /etc/nixos/git/keys/ssh/keys.txt - # Add all changes to git and and push git add keys/hosts/`hostname`.asc git commit -am "Setup of: `whoami`@`hostname`"