setup-env #1

Merged
noah.knegt merged 28 commits from setup-env into main 2025-02-28 21:49:32 +01:00
8 changed files with 89 additions and 21 deletions
Showing only changes of commit 3a8fbacd74 - Show all commits

View File

@@ -32,11 +32,23 @@
channel.enable = false;
};
networking = {
hostName = "NixOS_Desktop"; # Define your hostname.
networkmanager.enable = true;
firewall = {
allowedTCPPorts = [
# Allow discovery for spotify on the network
57621
];
allowedUDPPorts = [
# Allow discovery for spotify on the network
5353
];
};
};
networking.hostName = "NixOS_Desktop"; # Define your hostname.
# Enable networking
networking.networkmanager.enable = true;
# Set your time zone.
time.timeZone = "Europe/Amsterdam";
@@ -114,15 +126,6 @@
spotify
];
networking.firewall.allowedTCPPorts = [
# Allow discovery for spotify on the network
57621
];
networking.firewall.allowedUDPPorts = [
# Allow discovery for spotify on the network
5353
];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave