1
Fork 0

I pray this works

This commit is contained in:
caem 2025-01-19 20:22:32 +01:00
parent ded57cedbe
commit 3f375b7c18
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 5 additions and 1 deletions

View file

@ -23,6 +23,8 @@
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
secrets.url = "path:./secrets";
}; };
outputs = { outputs = {
@ -33,6 +35,7 @@
home-manager, home-manager,
disko, disko,
sops-nix, sops-nix,
secrets,
... ...
} @ inputs: let } @ inputs: let
lib = nixpkgs.lib.extend (final: prev: lib = nixpkgs.lib.extend (final: prev:
@ -44,6 +47,7 @@
inputs = inputs; inputs = inputs;
user = "caem"; user = "caem";
modules = [ modules = [
secrets
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
disko.nixosModules.disko disko.nixosModules.disko
sops-nix.nixosModules.sops sops-nix.nixosModules.sops

View file

@ -133,7 +133,7 @@ partition_disk() {
} }
install() { 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() { copy_files_to_new_install() {