refactor: centralize SOPS configuration in separate file
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s

This commit is contained in:
uttarayan21
2025-09-03 14:22:01 +05:30
parent 3d2f53e8f5
commit be5b646ece
12 changed files with 39 additions and 30 deletions

View File

@@ -306,6 +306,10 @@
name = device.name;
user = device.user;
is = name: device.name == name;
home =
if isDarwin
then "/Users/${device.user}"
else "/home/${device.user}";
};
nixos_devices = nixpkgs.lib.attrsets.filterAttrs (n: x: x.isNix) devices;
@@ -373,6 +377,7 @@
overlays = import ./overlays.nix {
inherit inputs;
};
config.allowUnfree = true;
};
in {
packages = rec {