diff --git a/install.sh b/install.sh index 7381e27..0932ffe 100755 --- a/install.sh +++ b/install.sh @@ -133,12 +133,7 @@ partition_disk() { } install() { -# sudo sh -c '\ -# eval "$(ssh-agent -s)";\ -# ssh-add "/root/.ssh/*.pub";\ -# nixos-install --no-root-passwd --flake ".#$DOTNIX_HOSTNAME";\ -# ' - sudo nixos-install --no-root-passwd --flake ".#$DOTNIX_HOSTNAME" + sudo yes | nixos-install --no-root-passwd --flake ".#$DOTNIX_HOSTNAME" } copy_files_to_new_install() { diff --git a/modules/nixos/core/security.nix b/modules/nixos/core/security.nix index 2270161..9fe1710 100644 --- a/modules/nixos/core/security.nix +++ b/modules/nixos/core/security.nix @@ -31,7 +31,7 @@ }; sops = { - defaultSopsFile = inputs.secrets.path; + defaultSopsFile = builtins.trace inputs.secrets.path; age.keyFile = "/nix/config/keys.txt"; }; }