Compare commits

..

No commits in common. "b4c36afa05397dfcc776d81784dd76ed58b7a69f" and "f7475fb27a15f006c64b22796b31391e0886ee6e" have entirely different histories.

View File

@ -84,20 +84,22 @@ in
networking = networking =
{ {
hostName = "Zuse1"; # Define your hostname. hostName = "Zuse1"; # Define your hostname.
nameservers = [ #nameservers = [
"1.1.1.3" # "127.0.0.1"
"1.0.0.3" # "::1"
"2606:4700:4700::1113" # "192.168.178.1"
"2606:4700:4700::1003" # "fd00::b2f2:8ff:fe44:3002"
]; # "2a02:8071:6240:2400:b2f2:8ff:fe44:3002"
networkmanager = { # "1.1.1.3"
enable = true; # "1.0.0.3"
#dns = "none"; # "2606:4700:4700::1113"
}; # "2606:4700:4700::1003"
#useDHCP = false; #];
#dhcpcd.enable = false;
#firewall.checkReversePath = false; # Needed to route all traffic through WireGuard
}; };
# Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
@ -256,7 +258,6 @@ systemd.tmpfiles.rules = [
"docker" # Docker Root "docker" # Docker Root
"libvirtd" # virtualization "libvirtd" # virtualization
"transmission" # Linux Torrents "transmission" # Linux Torrents
"networkmanager" # Configure Networking
]; ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
@ -332,7 +333,7 @@ environment.etc.crypttab = {
home-manager # Nix's Home-Manager home-manager # Nix's Home-Manager
egl-wayland # NVIDIA compat egl-wayland # NVIDIA compat
nvidia-vaapi-driver # NVIDIA compat nvidia-vaapi-driver # NVIDIA compat
networkmanagerapplet # Network Manager Applet wireguard-tools
]; ];
programs = { programs = {
@ -459,6 +460,12 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; # services.openssh.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# Copy the NixOS configuration file and link it from the resulting system # Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you # (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix. # accidentally delete configuration.nix.