mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
systems -> hosts
moved functions to /lib inputs over imports turned each module file into a nixosModule moved registry and $NIX_PATH pinning to /modules/pinning.nix
This commit is contained in:
parent
ee2beea680
commit
f43d0b741c
42 changed files with 224 additions and 240 deletions
|
|
@ -1,18 +1,20 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
sops-nix,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
sops-nix.nixosModules.sops
|
||||
];
|
||||
environment.systemPackages = [
|
||||
pkgs.sops
|
||||
];
|
||||
sops = {
|
||||
defaultSopsFile = self + "/systems/" + config.networking.hostName + "/secrets.yaml";
|
||||
defaultSopsFile = self + "/hosts/" + config.networking.hostName + "/secrets.yaml";
|
||||
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue