reorganize secrets
This commit is contained in:
parent
42128ebbe1
commit
76e043171c
14 changed files with 49 additions and 58 deletions
|
@ -1,15 +1,32 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./amd.nix
|
||||
./hardware-configuration.nix
|
||||
# ./irc.nix
|
||||
./network
|
||||
./secrets.nix
|
||||
./secure-boot.nix
|
||||
./zfs.nix
|
||||
];
|
||||
|
||||
sops.defaultSopsFile = ./secrets.yaml;
|
||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
|
||||
sops.secrets = {
|
||||
"wg/zw" = {
|
||||
owner = config.users.users.systemd-network.name;
|
||||
};
|
||||
"wg/dvb" = {
|
||||
owner = config.users.users.systemd-network.name;
|
||||
};
|
||||
"wg/mullvad" = {
|
||||
owner = config.users.users.systemd-network.name;
|
||||
};
|
||||
"wg/0xa-mgmt" = {
|
||||
owner = config.users.users.systemd-network.name;
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue