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

View file

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

View file

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