mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-13 18:47:55 +08:00
Add syncthing
This commit is contained in:
parent
c4dcd113c8
commit
c280cd7966
2 changed files with 9 additions and 2 deletions
|
|
@ -69,7 +69,14 @@
|
|||
vscode
|
||||
];
|
||||
|
||||
services.openssh.enable = true;
|
||||
services = {
|
||||
openssh.enable = true;
|
||||
syncthing = {
|
||||
enable = true;
|
||||
user = "srid";
|
||||
dataDir = "/home/srid";
|
||||
};
|
||||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
/* ({ pkgs, ... }: {
|
||||
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
}) */
|
||||
}) */
|
||||
./configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue