Compare commits

...

4 commits

7 changed files with 30 additions and 15 deletions

View file

@ -7,10 +7,5 @@
tags = [ "remote" ];
};
# Required for remote builds
security.sudo.wheelNeedsPassword = false;
imports = [
../common/openssh.nix
];
}

View file

@ -10,6 +10,4 @@
};
services.fail2ban.enable = true;
networking.firewall.allowedTCPPorts = [ 22 ];
}

View file

@ -8,9 +8,4 @@
};
services.joycond.enable = true;
# Currently broken:
# environment.systemPackages = with pkgs; [
# itch
# ];
}

View file

@ -23,6 +23,7 @@ in {
(import "${sources.home-manager}/nixos")
(import "${sources.agenix}/modules/age.nix")
./pinning.nix
./common/ssh.nix
./common/sudo.nix
./common/utilities.nix
./users/qenya.nix

View file

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

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

@ -0,0 +1,24 @@
{ config, lib, pkgs, ... }:
{
services.syncthing = {
enable = true;
user = "qenya";
dataDir = "/data/syncthing";
openDefaultPorts = true;
overrideDevices = true;
overrideFolders = true;
settings = {
devices = {
"kilgharrah" = { id = "RDT7IGD-76FZ6LY-37PPB2W-DWPQRPR-LZ4AXF7-4GIIHYJ-RVXUUSG-ZXPN3AZ"; };
};
folders = {
"Documents" = {
id = "alp59-7gs9s";
path = "~/Documents";
devices = [ "kilgharrah" ];
};
};
};
};
}

View file

@ -1,5 +1,6 @@
let
yevaud = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICHUAgyQhl390yUObLUI+jEbuNrZ2U6+8px628DolD+T";
systems = [ yevaud ];
tohru = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOk8wuGzF0Y7SaH9aimo3SmCz99MTQwL+rEVhx0jsueU root@tohru";
yevaud = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICHUAgyQhl390yUObLUI+jEbuNrZ2U6+8px628DolD+T root@yevaud";
systems = [ tohru yevaud ];
in
{ }