diff options
author | stuebinm | 2022-12-06 18:44:12 +0100 |
---|---|---|
committer | stuebinm | 2022-12-06 18:44:49 +0100 |
commit | 16b04ed1d41f3a9da02117bd56b7cc72db307475 (patch) | |
tree | 74b4d8b47b7e83a11189814ddf2506fd9ca8a529 /abbenay | |
parent | 446126517d30796a71dfe1f85e9e3798c4e824b4 (diff) |
remove peerix
this is more hassle than it's worth, and plain nix-serve works much better
Diffstat (limited to '')
-rw-r--r-- | abbenay/configuration.nix | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/abbenay/configuration.nix b/abbenay/configuration.nix index 3042cd1..ec4c08d 100644 --- a/abbenay/configuration.nix +++ b/abbenay/configuration.nix @@ -9,22 +9,8 @@ services.avahi.enable = true; services.avahi.nssmdns = true; - services.peerix = { enable = true; - package = inputs.peerix.packages.x86_64-linux.peerix; - openFirewall = true; - privateKeyFile = "/var/lib/peerix/peerix-private"; - # publicKeyFile = "/var/lib/peerix/peerix-public"; - publicKey = "cyberbox:peerix-cyberbox:tU7BvNanoiDAFqXQcPItEUCE4jLzdoZ589e3DYqPM9E= peerix-abbenay:sWkpQo5oyhEEXXMEm+8+2KkVcBkfIVpa06jhBs2LRXM="; }; - # services.xserver = { - # enable = true; - # layout = "de"; - # xkbOptions = "eurosign:e,caps:escape"; - # displayManager.gdm.enable = true; - # desktopManager.gnome.enable = true; - # }; - # services.gnome.gnome-keyring.enable = pkgs.lib.mkForce false; environment.systemPackages = with pkgs; [ gnome3.gnome-tweaks @@ -33,9 +19,11 @@ cifs-utils ]; + # for nix-serve + networking.firewall.allowedTCPPorts = [ 5000 ]; + networking = { hostName = "abbenay"; - useDHCP = false; interfaces.enp3s0.useDHCP = true; # networkmanager shouldn't handle nixos container |