Changes to be committed:
modified: TODO.md renamed: ./desktops/profiles/gnome.nix -> ./desktops/profiles/gnome-profile.nix moved: ./apply.sh -> ./scripts/apply.sh moved: ./build.sh -> ./scripts/build.sh moved: ./install.sh -> ./scripts/install.sh - Updated TODO with latest plans - Moved build/install scripts to ./scripts/ - Preparing to merge ./desktops/profiles/gnome-profile.nix and ./desktops/gnome.nix
This commit is contained in:
parent
d5354e0828
commit
0d09e1efe9
5 changed files with 1 additions and 0 deletions
21
install.sh
21
install.sh
|
|
@ -1,21 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
sudo rsync -rla --delete --exclude=".*" . /etc/nixos
|
||||
sudo ln -s /etc/nixos/hosts/$(hostname)/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
|
||||
sudo ln -s /etc/nixos/hosts/$(hostname)/flake.lock /etc/nixos/flake.lock
|
||||
if [ "$(hostname)" = "wyvern" ]; then
|
||||
sudo chown syncoid:syncoid /etc/nixos/secrets/turtle-backup.key
|
||||
sudo chown nebula-bbs:nebula-bbs /etc/nixos/secrets/ca.crt
|
||||
sudo chown nebula-bbs:nebula-bbs /etc/nixos/secrets/wyvern.bbs.lan.crt
|
||||
sudo chown nebula-bbs:nebula-bbs /etc/nixos/secrets/wyvern.bbs.lan.key
|
||||
fi
|
||||
|
||||
mkdir -p ~/.ssh
|
||||
rsync -p --chmod=600 ./secrets/id_yubikey1_fido2 ~/.ssh/
|
||||
rsync -p --chmod=600 ./secrets/id_yubikey2_fido2 ~/.ssh/
|
||||
rsync -p --chmod=600 ./secrets/fallback ~/.ssh/
|
||||
|
||||
mkdir -p ~/.config/sops/age
|
||||
rsync -p --chmod=600 ./secrets/sops-age-keys.txt ~/.config/sops/age/keys.txt
|
||||
|
||||
sudo cp ./media/pfp.png /var/lib/AccountsService/icons/sasha
|
||||
Loading…
Add table
Add a link
Reference in a new issue