sops not working
This commit is contained in:
19
builds/printer.nix
Normal file
19
builds/printer.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ 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";
|
||||
};
|
||||
}
|
||||
11
builds/sops.nix
Normal file
11
builds/sops.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
sops = {
|
||||
defaultSopsFile = ../secrets/secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/etc/sops/keys.txt";
|
||||
secrets."user_password".neededForUsers = true;
|
||||
# secrets."git/email" = { };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user