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 # Encrypt Mopidy config as it contains Spotify credentials
system/shared/services/mopidy.nix filter=git-crypt diff=git-crypt 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; [ environment.systemPackages = with pkgs; [
cifs-utils # To mount Storage Box cifs-utils # To mount Storage Box
git git
git-crypt
gnupg
vim vim
]; ];
} }

View File

@ -21,12 +21,6 @@
openFirewall = true; openFirewall = true;
}; };
services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "curses";
};
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = 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 = { nix = {
extraOptions = "experimental-features = nix-command flakes"; extraOptions = "experimental-features = nix-command flakes";
package = pkgs.nixFlakes; package = pkgs.nixFlakes;