From 3f375b7c18d6d312d08a84677296e811fb58cde0 Mon Sep 17 00:00:00 2001 From: caem Date: Sun, 19 Jan 2025 20:22:32 +0100 Subject: [PATCH] I pray this works --- flake.nix | 4 ++++ install.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 58da0d1..c3a1ca1 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,8 @@ url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; + + secrets.url = "path:./secrets"; }; outputs = { @@ -33,6 +35,7 @@ home-manager, disko, sops-nix, + secrets, ... } @ inputs: let lib = nixpkgs.lib.extend (final: prev: @@ -44,6 +47,7 @@ inputs = inputs; user = "caem"; modules = [ + secrets impermanence.nixosModules.impermanence disko.nixosModules.disko sops-nix.nixosModules.sops diff --git a/install.sh b/install.sh index f78354e..4cca489 100755 --- a/install.sh +++ b/install.sh @@ -133,7 +133,7 @@ partition_disk() { } install() { - sudo nixos-install --no-root-passwd --flake ".?submodule=1#$DOTNIX_HOSTNAME" + sudo nixos-install --no-root-passwd --flake ".#$DOTNIX_HOSTNAME" } copy_files_to_new_install() {