diff --git a/nixos/homes/palo/gpg.nix b/nixos/homes/palo/gpg.nix index 75da757..e9e9b02 100644 --- a/nixos/homes/palo/gpg.nix +++ b/nixos/homes/palo/gpg.nix @@ -24,5 +24,8 @@ enableSshSupport = true; enableZshIntegration = true; # sshKeys = []; + defaultCacheTtl = 30; + defaultCacheTtlSsh = 30; + }; } diff --git a/nixos/homes/palo/packages/development.nix b/nixos/homes/palo/packages/development.nix index fb581fa..fae2308 100644 --- a/nixos/homes/palo/packages/development.nix +++ b/nixos/homes/palo/packages/development.nix @@ -158,6 +158,8 @@ with lib; nixpkgs-fmt treefmt + mermaid-cli + ] ++ (map pandocScript (lib.cartesianProductOfSets { inputFormat = [ "man" "markdown" "mediawiki" "asciidoc" ]; outputFormat = [ "mediawiki" "docbook5" "html5" "man" "jira" "markdown" ]; diff --git a/nixos/machines/sternchen/configuration.nix b/nixos/machines/sternchen/configuration.nix index 1bea30b..7ee9625 100644 --- a/nixos/machines/sternchen/configuration.nix +++ b/nixos/machines/sternchen/configuration.nix @@ -10,6 +10,8 @@ ./syncthing.nix ./tinc.nix + ./cups.nix + ]; sops.defaultSopsFile = ../../secrets/sternchen.yaml; diff --git a/nixos/machines/sternchen/cups.nix b/nixos/machines/sternchen/cups.nix new file mode 100644 index 0000000..2c2e41d --- /dev/null +++ b/nixos/machines/sternchen/cups.nix @@ -0,0 +1,16 @@ +{ + hardware.printers.ensurePrinters = [ + { + description = "Lexmark E350d"; + deviceUri = "usb://Lexmark/E350d?serial=622Z9ZC"; + location = "office"; + name = "Lexmark_E350d"; + model = "drv:///sample.drv/generic.ppd"; + ppdOptions = { + job-sheets = "none, none"; + media = "na_letter_8.5x11in"; + sides = "one-sided"; + }; + } + ]; +}