mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 09:53:53 +01:00
Merge branch 'main' of git.sr.ht:~xqtc/nixos-config
This commit is contained in:
commit
7be7a45939
|
@ -8,6 +8,7 @@
|
|||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../gc.nix
|
||||
];
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
@ -111,6 +112,17 @@
|
|||
services.jellyfin.enable = true;
|
||||
services.jellyfin.user = "xqtc";
|
||||
|
||||
services.slskd = {
|
||||
enable = true;
|
||||
nginx.enable = true;
|
||||
nginx.domainName = "seraphim";
|
||||
settings = {
|
||||
soulseek = {
|
||||
username = "razorbladeramen";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
programs.mtr.enable = true;
|
||||
|
@ -125,7 +137,7 @@
|
|||
services.openssh.enable = true;
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [ 22 8096 9091 ];
|
||||
networking.firewall.allowedTCPPorts = [ 22 8096 9091 5001 ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
|
Loading…
Reference in a new issue