Add syncthing
This commit is contained in:
parent
156ab1c904
commit
abd6a31c90
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
user = "agatha";
|
||||||
|
openDefaultPorts = true;
|
||||||
|
overrideFolders = false;
|
||||||
|
overrideDevices = false;
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,6 +2,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../common/fragments/graphical
|
../../common/fragments/graphical
|
||||||
|
../../common/fragments/graphical/syncthing.nix
|
||||||
../../common/fragments/yubikey.nix
|
../../common/fragments/yubikey.nix
|
||||||
../../common/home_manager/common.nix
|
../../common/home_manager/common.nix
|
||||||
];
|
];
|
||||||
|
@ -74,6 +75,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.graphical.theme.name = "bridge";
|
environment.graphical.theme.name = "bridge";
|
||||||
|
|
||||||
|
services.syncthing.dataDir = "/mnt/hdd/syncthing";
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
Loading…
Reference in New Issue