From a443023441b674cd8986389e8ddb62fd604a9afb Mon Sep 17 00:00:00 2001 From: Madeleine Date: Mon, 17 Apr 2023 21:20:06 +0100 Subject: [PATCH] librewolf fix & syncthing added --- maddie/nixos/librewolf.nix | 2 +- systems/mdesktop/syncthing.nix | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 systems/mdesktop/syncthing.nix diff --git a/maddie/nixos/librewolf.nix b/maddie/nixos/librewolf.nix index b0d8d2b..b38aaed 100644 --- a/maddie/nixos/librewolf.nix +++ b/maddie/nixos/librewolf.nix @@ -6,7 +6,7 @@ settings = { "browser.uidensity" = 1; "webgl.disabled" = false; - "privacy.resistFingerprinting" = false; + "privacy.resistFingerprinting" = true; }; }; } diff --git a/systems/mdesktop/syncthing.nix b/systems/mdesktop/syncthing.nix new file mode 100644 index 0000000..0ccbbfb --- /dev/null +++ b/systems/mdesktop/syncthing.nix @@ -0,0 +1,27 @@ +{ config, username, ... }: + +{ + services.syncthing = { + enable = true; + user = "${username}"; + group = "users"; + dataDir = "/home/${username}"; + configDir = "/home/${username}/.config/syncthing"; + guiAddress = "0.0.0.0:8384"; + overrideFolders = true; + folders = { + "Documents" = { + path = "/home/${username}/Documents"; + }; + "Pictures" = { + path = "/home/${username}/Pictures"; + }; + "Videos" = { + path = "/home/${username}/Videos"; + }; + "Music" = { + path = "/home/${username}/Music"; + }; + }; + }; +}