Enable passwordless sudo on remote machines

Closes #2
This commit is contained in:
Katherina Walshe-Grey 2024-06-19 19:48:23 +01:00
parent 6fc5a2b1ea
commit a3721b311e
4 changed files with 21 additions and 5 deletions

View file

@ -7,6 +7,7 @@
./home.nix
../../common/fonts.nix
../../common/gaming.nix
./syncthing.nix
];
boot.loader.systemd-boot.enable = true;

16
hosts/tohru/syncthing.nix Normal file
View file

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
{
services.syncthing = {
enable = true;
user = "qenya";
dataDir = "/data/syncthing";
overrideDevices = true;
overrideFolders = true;
settings = {
devices = {
"kilgharrah" = { id = "RDT7IGD-76FZ6LY-37PPB2W-DWPQRPR-LZ4AXF7-4GIIHYJ-RVXUUSG-ZXPN3AZ"; };
};
};
};
}