Fix: Call sops-nix module...
This commit is contained in:
parent
18ca235bad
commit
0be514c6e0
@ -268,10 +268,9 @@
|
|||||||
modules = [
|
modules = [
|
||||||
./systems/fighter/configuration.nix
|
./systems/fighter/configuration.nix
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
inputs.sops-nix.nixosModules.sops
|
|
||||||
];
|
];
|
||||||
inherit system pkgs;
|
inherit system pkgs;
|
||||||
specialArgs = { inherit sys; };
|
specialArgs = { inherit sys flake; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
deploy = {
|
deploy = {
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
{ sys, pkgs, inputs, flake, ... }: {
|
{ sys, pkgs, inputs, flake, ... }: {
|
||||||
imports = [ inputs.sops-nix.nixosModules.sops ];
|
imports = [ inputs.sops-nix.nixosModules.sops ];
|
||||||
sops = {
|
sops = {
|
||||||
age.sshKeyPaths = [
|
age.sshKeyPaths = [ "/home/${sys.username}/${sys.ssh.privateKey}" ];
|
||||||
"/home/${sys.username}/${sys.ssh.privateKey}"
|
|
||||||
"/etc/ssh/ssh_host_ed25519_key"
|
|
||||||
];
|
|
||||||
age.generateKey = false;
|
age.generateKey = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
./stacks.nix
|
./stacks.nix
|
||||||
./terminal-environment.nix
|
./terminal-environment.nix
|
||||||
./boot.nix
|
./boot.nix
|
||||||
|
../../modules/sops.nix
|
||||||
];
|
];
|
||||||
# DO NOT CHANGE
|
# DO NOT CHANGE
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user