From a409809888bef8b7dcf09af137d76cdadedea4e5 Mon Sep 17 00:00:00 2001 From: caem Date: Mon, 20 Jan 2025 00:02:54 +0100 Subject: [PATCH] hmmm --- install.sh | 7 +------ modules/nixos/core/security.nix | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) 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"; }; }