Compare commits

...

2 commits

Author SHA1 Message Date
359b8159cc feat(tyr): setup syncthing. 2025-09-24 20:43:43 +02:00
f9bea2df78 feat(tyr): fix some conflicts in config 2025-09-24 20:43:29 +02:00
4 changed files with 17 additions and 12 deletions

View file

@ -303,6 +303,7 @@
auto-cpufreq.nixosModules.default
./hosts/tyr/configuration.nix
./modules/linux/nixos
./modules/servers/tyr
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;

View file

@ -134,18 +134,6 @@
# Enable my specific settings
crony.secrets.enable = true;
# Optimise storage
nix.optimise = {
automatic = true;
dates = "weekly";
};
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 10d";
};
# setup podman for virtualisation
virtualisation = {
podman = {

View file

@ -0,0 +1,5 @@
{
imports = [
./syncthing.nix
];
}

View file

@ -0,0 +1,11 @@
{
services.syncthing = {
enable = true;
openDefaultPorts = true;
guiAddress = "0.0.0.0:8384";
};
networking.firewall = {
allowedTCPPorts = [8384];
};
}