diff options
Diffstat (limited to 'abbenay/configuration.nix')
-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 |