Commit 6bd0b3d3d29d
Changed files (1)
machine
machine/massimo.nix
@@ -1,32 +0,0 @@
-{ config, pkgs, ... }:
-
-with import ../assets/machines.nix; {
- imports = [ ./home.nix ];
- boot = {
- cleanTmpDir = true;
- };
- networking = {
- firewall = {
- allowPing = true;
- allowedTCPPorts = [ 5000 ];
- };
- };
- profiles = {
- avahi.enable = true;
- git.enable = true;
- nix-config.buildCores = 4;
- ssh.enable = true;
- syncthing.enable = true;
- };
- services = {
- logind.lidSwitch = "ignore";
- syncthing-edge.guiAddress = "${wireguard.ips.massimo}:8384";
- wireguard = {
- enable = true;
- ips = [ "${wireguard.ips.massimo}/24" ];
- endpoint = wg.endpointIP;
- endpointPort = wg.listenPort;
- endpointPublicKey = wireguard.kerkouane.publicKey;
- };
- };
-}