refactor: centralize sops-nix configuration in common module

This commit is contained in:
Tibo De Peuter 2026-03-17 18:37:46 +01:00
parent 02c0273286
commit c17184a312
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2

View file

@ -1,8 +1,13 @@
{
imports = [
./substituters.nix
];
config = {
homelab = {
services.openssh.enable = true;
users.admin.enable = true;
common.substituters.enable = true;
};
nix.settings.experimental-features = [
@ -12,5 +17,10 @@
# Set your time zone.
time.timeZone = "Europe/Brussels";
sops = {
defaultSopsFile = ../../secrets/secrets.yaml;
age.keyFile = "/var/lib/sops-nix/key.txt";
};
};
}