mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
Compare commits
No commits in common. "74921ea499619d3b6d0ace758910ccfd7a8b29a3" and "96a9901a8e20aec586ff0d518c72a6cea54c940d" have entirely different histories.
74921ea499
...
96a9901a8e
2 changed files with 3 additions and 48 deletions
|
@ -9,7 +9,6 @@
|
|||
imports = [
|
||||
./hardware.nix
|
||||
./home-julien.nix
|
||||
./syncthing.nix
|
||||
];
|
||||
|
||||
machine.meta = {
|
||||
|
@ -87,9 +86,9 @@
|
|||
|
||||
# Use the NVidia open source kernel module (not to be confused with the
|
||||
# independent third-party "nouveau" open source driver).
|
||||
# Support is limited to the Turing and later architectures. Full list of
|
||||
# supported GPUs is at:
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
|
||||
# Support is limited to the Turing and later architectures. Full list of
|
||||
# supported GPUs is at:
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
|
||||
# Only available from driver 515.43.04+
|
||||
# Do not disable this unless your GPU is unsupported or if you have a good reason to.
|
||||
open = true;
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
user = "julien";
|
||||
group = "users";
|
||||
overrideDevices = true;
|
||||
overrideFolders = true;
|
||||
|
||||
settings.options = {
|
||||
urAccepted = -1;
|
||||
listenAddresses = [ "tcp://${config.machine.meta.ips.vpn.ipv4}" ];
|
||||
};
|
||||
|
||||
devices = {
|
||||
"gustave" = {
|
||||
id = "6APF3EP-TIV7ZBK-5WB5SA4-Y2K37CR-AMIB2TM-6T2VORK-UYNQO2X-TO6V2QH";
|
||||
addresses = [
|
||||
"tcp://gustave.luj:22000"
|
||||
];
|
||||
};
|
||||
|
||||
"gallifrey" = {
|
||||
id = "P3BTFAX-4MCSFQB-C5R5YBP-YGMJ6FU-OKJN4QG-MJ2BV6Y-YB4U7VL-3GFSTAM";
|
||||
addresses = [
|
||||
"tcp://gallifrey.luj:22000"
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
folders = {
|
||||
"dev" = {
|
||||
path = "/home/julien/dev";
|
||||
devices = [
|
||||
"gustave"
|
||||
"gallifrey"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.syncthing.serviceConfig.StateDirectory = "syncthing";
|
||||
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true";
|
||||
}
|
Loading…
Add table
Reference in a new issue