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