diff --git a/.gitattributes b/.gitattributes index d09ab1b..31a3a38 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/system/kernighan/kernighan.nix b/system/kernighan/kernighan.nix index 32cc1f9..d83bf9d 100644 --- a/system/kernighan/kernighan.nix +++ b/system/kernighan/kernighan.nix @@ -28,6 +28,8 @@ environment.systemPackages = with pkgs; [ cifs-utils # To mount Storage Box git + git-crypt + gnupg vim ]; } diff --git a/system/shared/desktop-configuration.nix b/system/shared/desktop-configuration.nix index e2104c4..06e797f 100644 --- a/system/shared/desktop-configuration.nix +++ b/system/shared/desktop-configuration.nix @@ -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; diff --git a/system/shared/services/syncthing.nix b/system/shared/services/syncthing.nix new file mode 100644 index 0000000..18844da Binary files /dev/null and b/system/shared/services/syncthing.nix differ diff --git a/system/shared/shared-configuration.nix b/system/shared/shared-configuration.nix index 0bb5fa9..c99c20a 100644 --- a/system/shared/shared-configuration.nix +++ b/system/shared/shared-configuration.nix @@ -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;