feat: update home-pc config

This commit is contained in:
Felix Schröter 2022-01-27 15:03:07 +01:00
parent 99223e4ad8
commit 33a712b637
Signed by: felschr
GPG key ID: 671E39E6744C807D
5 changed files with 37 additions and 31 deletions

View file

@ -3,7 +3,7 @@
{
imports = [
./hardware/base.nix
./hardware/gpu-nvidia.nix
./hardware/gpu-amd.nix
./hardware/steam.nix
./hardware/ledger.nix
./system
@ -17,7 +17,7 @@
# declarative config broken atm: https://github.com/NixOS/nixpkgs/issues/91986
swapDevices = [{
device = "/swap/swapfile";
device = "/.swap/swapfile";
size = 8192;
}];
@ -38,7 +38,7 @@
programs.zsh.enable = true;
networking.firewall.allowedTCPPorts = [
54950 # transmission
58324 # transmission
];
networking.firewall.allowedUDPPorts = [
24727 # AusweisApp2