sorry but this ones just lots of shit

This commit is contained in:
2025-10-17 03:10:20 -05:00
parent 26d060e672
commit f5f1ad4580
10 changed files with 345 additions and 234 deletions

View File

@@ -1,10 +1,13 @@
{ pkgs, config, lib, inputs, ... }:
let
cfg = config.system.sops;
in
{
imports = [ inputs.sops-nix.nixosModules.sops ];
pkgs,
config,
lib,
inputs,
...
}: let
cfg = config.system.sops;
in {
imports = [inputs.sops-nix.nixosModules.sops];
options.system.sops = {
enable = lib.mkEnableOption "enables sops";
@@ -15,11 +18,10 @@ in
sops = {
defaultSopsFile = ../../../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
# age.keyFile = "/home/blake/.config/sops/age/keys.txt";
age.keyFile = "/etc/sops/keys.txt";
secrets = {
"blake_passwd" = {
"blake_passwd" = {
owner = "root";
group = "root";
neededForUsers = true;