system: reformatted with nixfmt

This commit is contained in:
Aly Raffauf 2024-03-24 14:07:13 -04:00
parent 566370cda6
commit c9ade836ec
3 changed files with 21 additions and 15 deletions

View file

@ -1,11 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = imports = [ ./network.nix ./sound.nix ];
[
./network.nix
./sound.nix
];
# Set your time zone. # Set your time zone.
time.timeZone = "America/New_York"; time.timeZone = "America/New_York";
@ -73,10 +69,8 @@
auto-optimise-store = true; auto-optimise-store = true;
# Enable experimental `nix` command and flakes. # Enable experimental `nix` command and flakes.
experimental-features = [ "nix-command" "flakes" ]; experimental-features = [ "nix-command" "flakes" ];
substituters = [ substituters =
"https://nixcache.raffauflabs.com" [ "https://nixcache.raffauflabs.com" "https://cache.nixos.org/" ];
"https://cache.nixos.org/"
];
trusted-public-keys = [ trusted-public-keys = [
"nixcache.raffauflabs.com:yFIuJde/izA4aUDI3MZmBLzynEsqVCT1OfCUghOLlt8=" "nixcache.raffauflabs.com:yFIuJde/izA4aUDI3MZmBLzynEsqVCT1OfCUghOLlt8="
]; ];

View file

@ -4,18 +4,30 @@
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking = { networking = {
networkmanager.enable = true; networkmanager.enable = true;
firewall.allowedTCPPortRanges = [ firewall.allowedTCPPortRanges = [
# KDE Connect # KDE Connect
{ from = 1714; to = 1764; } {
from = 1714;
to = 1764;
}
# Soulseek # Soulseek
{ from = 2234; to = 2239; } {
from = 2234;
to = 2239;
}
]; ];
firewall.allowedUDPPortRanges = [ firewall.allowedUDPPortRanges = [
# KDE/GS Connect # KDE/GS Connect
{ from = 1714; to = 1764; } {
from = 1714;
to = 1764;
}
# Soulseek # Soulseek
{ from = 2234; to = 2239; } {
from = 2234;
to = 2239;
}
]; ];
}; };

View file

@ -15,4 +15,4 @@
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
}; };
} }