nixpkgs-fmt run

This commit is contained in:
Trolli Schmittlauch 2021-06-09 10:05:51 +02:00
parent 265464ad21
commit 38d50cb04d

View file

@ -5,7 +5,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
unstable = import <nixos-unstable> {}; unstable = import <nixos-unstable> { };
in in
{ {
@ -95,8 +95,8 @@ in
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
networking.firewall.allowedTCPPortRanges = [ { from = 1714; to = 1764; } ]; networking.firewall.allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
networking.firewall.allowedUDPPortRanges = [ { from = 1714; to = 1764; } ]; # for KDE connect networking.firewall.allowedUDPPortRanges = [{ from = 1714; to = 1764; }]; # for KDE connect
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;
@ -207,12 +207,12 @@ in
# declarative containers # declarative containers
containers = { containers = {
# hash2PubSim = import ./Hash2PubTestbed.nix # hash2PubSim = import ./Hash2PubTestbed.nix
# { # {
# inherit pkgs config; # inherit pkgs config;
# experimentUid = config.users.users.spiollinux.uid; # experimentUid = config.users.users.spiollinux.uid;
# projectDir = "/home/spiollinux/Seafile/Studium/Semester11/INF-PM-FP-ANW"; # projectDir = "/home/spiollinux/Seafile/Studium/Semester11/INF-PM-FP-ANW";
# }; # };
}; };
# stop NetworkManager from managing virtual interfaces # stop NetworkManager from managing virtual interfaces