mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 05:31:55 -05:00
system: reformatted with nixfmt
This commit is contained in:
parent
566370cda6
commit
c9ade836ec
|
@ -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="
|
||||
];
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue