Update git autoupgrade
This commit is contained in:
parent
ce51c5c3d9
commit
adae0be62a
2 changed files with 1 additions and 2 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
1
setup.sh
1
setup.sh
|
@ -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`"
|
||||||
|
|
Loading…
Reference in a new issue