diff --git a/.sops.yaml b/.sops.yaml index 134fb65b..d76dea8a 100644 --- a/.sops.yaml +++ b/.sops.yaml @@ -6,6 +6,7 @@ keys: - &host_osaka-linode-01 5f548d87ab2b8a4d48d80da3f2ff8352998da7fa - &host_piaware-rpi4 4216b645667670a6130bb95a72a56f8269cd0818 - &host_backups-rpi4 8b37122bb46dc98c208002d65e94778ecd94bd4e + - &host_nixos-desktop 7bb3f6b0d8e744bead623602b3faeb68b8103a43 creation_rules: - path_regex: secrets\/secrets\.yaml$ @@ -18,6 +19,7 @@ creation_rules: - *host_framework-server - *host_piaware-rpi4 - *host_backups-rpi4 + - *host_nixos-desktop - path_regex: secrets\/tailscale\.yaml$ key_groups: @@ -29,6 +31,7 @@ creation_rules: - *host_framework-server - *host_piaware-rpi4 - *host_backups-rpi4 + - *host_nixos-desktop - path_regex: secrets\/wireguard\.yaml$ key_groups: diff --git a/nixos/common/modules/installer.nix b/nixos/common/modules/installer.nix index b23a699d..6ae60650 100644 --- a/nixos/common/modules/installer.nix +++ b/nixos/common/modules/installer.nix @@ -15,10 +15,7 @@ if [ "$(id -u)" -eq 0 ]; then fi if [ ! -d "/tmp/nixos/git/.git" ]; then - git clone --filter=blob:none --no-checkout https://git.sysctl.io/albert/nix "/tmp/nixos/git" - cd /tmp/nixos/git - git sparse-checkout set --cone docs/ home-manager/ keys/ssh/ lib/ nixos/ flake.lock flake.nix shell.nix - git checkout main + git clone https://git.sysctl.io/albert/nix "/tmp/nixos/git" fi pushd /tmp/nixos/git