I pray this works
This commit is contained in:
parent
ded57cedbe
commit
3f375b7c18
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue