fix ntfy
This commit is contained in:
parent
ca30e42ecd
commit
6ef0ea29fd
2 changed files with 9 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue