Encrypting Syncthing password

This commit is contained in:
Trevor Vallender 2023-09-27 13:30:41 +01:00
parent a104557d4e
commit f5e2037cc2
5 changed files with 9 additions and 6 deletions

1
.gitattributes vendored
View File

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

View File

@ -28,6 +28,8 @@
environment.systemPackages = with pkgs; [
cifs-utils # To mount Storage Box
git
git-crypt
gnupg
vim
];
}

View File

@ -21,12 +21,6 @@
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;

Binary file not shown.

View File

@ -33,6 +33,12 @@
];
};
services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "curses";
};
nix = {
extraOptions = "experimental-features = nix-command flakes";
package = pkgs.nixFlakes;