Initial commit

This commit is contained in:
2026-02-28 14:18:57 +01:00
commit 8110e8f10b
45 changed files with 6381 additions and 0 deletions

26
modules/secrets/sops.nix Normal file
View File

@@ -0,0 +1,26 @@
{ inputs, ... }:
{
flake-file.inputs.sops-nix.url = "github:Mic92/sops-nix";
den.default = {
nixos =
{ pkgs, ... }:
{
imports = [ inputs.sops-nix.nixosModules.sops ];
sops = {
age.keyFile = "/home/kiri/.config/sops/age/keys.txt";
defaultSopsFile = ./secrets.yaml;
secrets = {
hashed-password-kiri.neededForUsers = true;
};
};
environment.systemPackages = with pkgs; [
sops
age
];
};
};
}