Add git-crypt setup for Mopidy credentials

This commit is contained in:
Trevor Vallender 2023-09-25 14:54:55 +01:00
parent 4c26d27a33
commit eb2dbf6c7b
2 changed files with 8 additions and 0 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Encrypt Mopidy config as it contains Spotify credentials
system/shared/services/mopidy.nix filter=git-crypt diff=git-crypt

View File

@ -21,6 +21,12 @@
openFirewall = true;
};
services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "curses";
};
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;