[water7] feat: Add sops + age secret handling, still wip

I'm kinda lost, but we'll get there lol soon forgejo secrets will be fixed!

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
SindreKjelsrud 2025-10-12 09:19:44 +02:00
parent 306737d73d
commit a3e8fe8ab8
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6
6 changed files with 69 additions and 3 deletions

View file

@ -7,7 +7,8 @@
{
imports = [
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
inputs.home-manager.nixosModules.default
inputs.sops-nix.nixosModules.sops
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
@ -95,7 +96,12 @@
home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {
"sid" = import ./home.nix;
sid = {
imports = [
./home.nix
inputs.sops-nix.homeManagerModules.sops
];
};
};
};