Update git autoupgrade

This commit is contained in:
iFargle 2023-09-19 21:30:11 +09:00
parent ce51c5c3d9
commit adae0be62a
2 changed files with 1 additions and 2 deletions

View file

@ -8,7 +8,7 @@
enable = true; enable = true;
allowReboot = false; allowReboot = false;
dates = "daily"; dates = "daily";
flake = "path:/etc/nixos/flake.nix"; flake = "git+file:/etc/nixos/flake.nix";
}; };
}; };

View file

@ -38,7 +38,6 @@ echo "" >> /etc/nixos/git/keys/ssh/keys.txt
echo "# `whoami`@`hostname`" >> /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 cat /home/albert/.ssh/id_rsa.pub >> /etc/nixos/git/keys/ssh/keys.txt
# Add all changes to git and and push # Add all changes to git and and push
git add keys/hosts/`hostname`.asc git add keys/hosts/`hostname`.asc
git commit -am "Setup of: `whoami`@`hostname`" git commit -am "Setup of: `whoami`@`hostname`"