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="
|
||||
];
|
||||
|
|
|
@ -7,15 +7,27 @@
|
|||
|
||||
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;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue