sops not working
This commit is contained in:
@@ -46,9 +46,9 @@
|
||||
firefox
|
||||
bitwarden-desktop
|
||||
|
||||
# sops
|
||||
sops
|
||||
# Sops
|
||||
age
|
||||
sops
|
||||
];
|
||||
|
||||
stateVersion = "23.11";
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
sops = {
|
||||
defaultSopsFile = "./secrets/secrets.yaml";
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/etc/sops/keys.txt";
|
||||
};
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
sops = {
|
||||
defaultSopsFile = "./secrets/secrets.yaml";
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/etc/sops/keys.txt";
|
||||
secrets.user_password.neededForUsers = true;
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user