diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2025-01-25 11:41:20 +0100 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2025-01-25 11:41:28 +0100 |
commit | 06ee5c04836c0ede5a87b9df72740d140b88ef69 (patch) | |
tree | f6a9f95b0e4560a62485c30cfea60e9feaaf7d42 /hosts | |
parent | 9a0421d410e45d5925dd73bdc668aee9f76d3660 (diff) |
stuff
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/tarrel.nix | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/hosts/tarrel.nix b/hosts/tarrel.nix index 96dd693..59ecf4c 100644 --- a/hosts/tarrel.nix +++ b/hosts/tarrel.nix @@ -1,6 +1,11 @@ { pkgs, inputs, config, ... }: { - imports = [ ./hardware-configuration/tarrel.nix ]; + imports = [ + ./hardware-configuration/tarrel.nix + + # Services + ../services/sunshine.nix + ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -59,20 +64,8 @@ environment.pathsToLink = [ "/libexec" ]; - services.sunshine = { - enable = true; - autoStart = true; - capSysAdmin = true; - openFirewall = true; - }; - - # from: https://help.ui.com/hc/en-us/articles/218506997-Required-Ports-Reference - # best put it in a var somewhere networking.hostName = "tarrel"; networking.networkmanager.enable = true; - networking.firewall.allowedTCPPorts = [ 53 8080 8000 443 8443 8880 8843 6789 27117 ]; - networking.firewall.allowedUDPPorts = [ 53 3478 5514 10001 1900 123]; - networking.firewall.allowedUDPPortRanges = [ { from = 5656; to = 5699; } ]; home-manager = { useGlobalPkgs = true; |