mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 21:16:35 +05:30
move sops to modules
This commit is contained in:
@ -1,12 +1,10 @@
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
username,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
./hardware-configuration.nix
|
||||
../common
|
||||
../../modules/nixos/headscale.nix
|
||||
@ -18,13 +16,8 @@
|
||||
../../modules/nixos/monitoring/promtail.nix
|
||||
];
|
||||
|
||||
sops = {
|
||||
age.keyFile = "/home/${username}/.config/sops/age/keys.txt";
|
||||
secrets = {
|
||||
borg_encryption_key = {
|
||||
sopsFile = ./secrets.yaml;
|
||||
};
|
||||
};
|
||||
sops.secrets.borg_encryption_key = {
|
||||
sopsFile = ./secrets.yaml;
|
||||
};
|
||||
|
||||
boot = {
|
||||
|
Reference in New Issue
Block a user