Compare commits
4 commits
f464d022e5
...
19886a488c
Author | SHA1 | Date | |
---|---|---|---|
19886a488c | |||
f71a65d051 | |||
a36c1d5e9f | |||
1e20b6b401 |
7 changed files with 30 additions and 15 deletions
|
@ -7,10 +7,5 @@
|
|||
tags = [ "remote" ];
|
||||
};
|
||||
|
||||
# Required for remote builds
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
imports = [
|
||||
../common/openssh.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -10,6 +10,4 @@
|
|||
};
|
||||
|
||||
services.fail2ban.enable = true;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
}
|
|
@ -8,9 +8,4 @@
|
|||
};
|
||||
|
||||
services.joycond.enable = true;
|
||||
|
||||
# Currently broken:
|
||||
# environment.systemPackages = with pkgs; [
|
||||
# itch
|
||||
# ];
|
||||
}
|
1
hive.nix
1
hive.nix
|
@ -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
|
||||
|
|
|
@ -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
24
hosts/tohru/syncthing.nix
Normal 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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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
|
||||
{ }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue