Initial commit

This commit is contained in:
kirbara 2025-12-01 13:23:24 +07:00
commit cfcc57a8bd
Signed by: exp
GPG key ID: D7E63AD0019E75D9
353 changed files with 18756 additions and 0 deletions

31
module/aspect/sops.nix Normal file
View file

@ -0,0 +1,31 @@
{
flake-file.inputs = {
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
};
den.aspects = {
sops = {
nixos =
{ inputs, pkgs, config, ... }:
{
imports = [
inputs.sops-nix.nixosModules.sops
];
environment.systemPackages = [
pkgs.sops
pkgs.age
];
sops.defaultSopsFile = ./../../secrets/secrets.yaml;
sops.defaultSopsFormat = "yaml";
};
homeManager =
{ inputs, pkgs, ... }:
{
sharedModules = [
inputs.sops-nix.homeManagerModules.sops
];
};
};
};
}