From 6ef0ea29fdd9ab4407f5177ea851fc161a1f7b44 Mon Sep 17 00:00:00 2001 From: Victor Date: Sun, 3 Sep 2023 10:24:18 +0200 Subject: [PATCH] fix ntfy --- nixos/hosts/olympus/ntfy/configuration.nix | 2 +- nixos/hosts/thalassa/aoife/hardware.nix | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/olympus/ntfy/configuration.nix b/nixos/hosts/olympus/ntfy/configuration.nix index 0077767..b8ce52e 100644 --- a/nixos/hosts/olympus/ntfy/configuration.nix +++ b/nixos/hosts/olympus/ntfy/configuration.nix @@ -20,7 +20,7 @@ networking.firewall.allowedTCPPorts = [ 80 9090 ]; - services.ntfy-sh = let datadir = "/var/lib/ntfy"; + services.ntfy-sh = let datadir = "/var/lib/ntfy-sh"; in { enable = true; settings = { diff --git a/nixos/hosts/thalassa/aoife/hardware.nix b/nixos/hosts/thalassa/aoife/hardware.nix index f00abf8..0345764 100644 --- a/nixos/hosts/thalassa/aoife/hardware.nix +++ b/nixos/hosts/thalassa/aoife/hardware.nix @@ -5,6 +5,8 @@ services.hardware.bolt.enable = true; + services.fprintd.enable = true; + # hardware.trackpoint.enable = true; # FS @@ -39,4 +41,10 @@ enable = true; powertop.enable = true; }; + + # tpm + security.tpm2.enable = true; + security.tpm2.pkcs11.enable = true; # expose /run/current-system/sw/lib/libtpm2_pkcs11.so + security.tpm2.tctiEnvironment.enable = true; # TPM2TOOLS_TCTI and TPM2_PKCS11_TCTI env variables + users.users.victor.extraGroups = [ "tss" ]; # tss group has access to TPM devices }