Syncthing
This commit is contained in:
parent
e65144675d
commit
2710145bf9
4 changed files with 14 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
./hardware-configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
../../modules/nixos/user-jack.nix
|
||||
../../modules/nixos/syncthing.nix
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
../../modules/nixos/user-jack.nix
|
||||
../../modules/nixos/sound.nix
|
||||
../../modules/nixos/print.nix
|
||||
../../modules/nixos/syncthing.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
../../modules/nixos/system-packages.nix
|
||||
../../modules/nixos/user-jack.nix
|
||||
../../modules/nixos/sound.nix
|
||||
../../modules/nixos/syncthing.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
|
|
|||
11
modules/nixos/syncthing.nix
Normal file
11
modules/nixos/syncthing.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 8384 ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue