sops not working

This commit is contained in:
2026-03-25 09:57:53 +01:00
parent 097078172e
commit 2c122a248d
9 changed files with 20 additions and 59 deletions

View File

@@ -46,9 +46,9 @@
firefox
bitwarden-desktop
# sops
sops
# Sops
age
sops
];
stateVersion = "23.11";

View File

@@ -1,19 +0,0 @@
{ pkgs, ... }:
{
services.printing.drivers = [ pkgs.epson-escpr ];
hardware.printers = {
ensurePrinters = [{
name = "Epson-XP-520";
location = "Home";
deviceUri = "http://192.168.178.34:631/ipp/print";
model =
"epson-inkjet-printer-escpr/Epson-XP-520_Series-epson-escpr-en.ppd";
ppdOptions = {
PageSize = "A4";
Ink = "Color";
};
}];
ensureDefaultPrinter = "Epson-XP-520";
};
}

View File

@@ -1,9 +0,0 @@
{ ... }:
{
sops = {
defaultSopsFile = "./secrets/secrets.yaml";
defaultSopsFormat = "yaml";
age.keyFile = "/etc/sops/keys.txt";
};
}

View File

@@ -1,10 +0,0 @@
{ config, ... }:
{
sops = {
defaultSopsFile = "./secrets/secrets.yaml";
defaultSopsFormat = "yaml";
age.keyFile = "/etc/sops/keys.txt";
secrets.user_password.neededForUsers = true;
};
}

View File

@@ -1,5 +1,4 @@
{
config,
lib,
pkgs,
...
@@ -20,12 +19,12 @@
defaultBranch = "main";
};
user = {
email = config.sops.secrets.git.email.path;
name = config.sops.secrets.git.name.path;
email = "elias.schroeter@e.email";
name = "Elias Schröter";
};
};
signing = {
key = config.sops.secrets.git.signingkey.path;
key = "04F3A2ED4B33F254";
format = lib.mkForce "openpgp";
signByDefault = true;
};