From 5780a111aec24e5f0bad4ec88e21a48480c39431 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 4 Aug 2024 13:11:11 -0400 Subject: [PATCH] thelio76: fixes --- config/hosts/thelio76/default.nix | 7 +++++++ config/modules/bspwm/polybar.nix | 2 +- config/modules/system76-pc.nix | 7 ++++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/config/hosts/thelio76/default.nix b/config/hosts/thelio76/default.nix index 40e7cdc..0d96bd9 100644 --- a/config/hosts/thelio76/default.nix +++ b/config/hosts/thelio76/default.nix @@ -101,6 +101,13 @@ swapDevices = [{ device = "/dev/disk/by-uuid/19de8142-e695-4425-a8cc-27e062204882"; }]; + networking.firewall = { + enable = true; + allowedTCPPorts = [ + 8081 # for expo android + ]; + }; + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction diff --git a/config/modules/bspwm/polybar.nix b/config/modules/bspwm/polybar.nix index fd3b86e..69b0a00 100644 --- a/config/modules/bspwm/polybar.nix +++ b/config/modules/bspwm/polybar.nix @@ -14,7 +14,7 @@ height = "${theme.sizing.str.xxl}pt"; radius = 0; - override-redirect = true; + # override-redirect = true; #;dpi = 96 diff --git a/config/modules/system76-pc.nix b/config/modules/system76-pc.nix index 6858f2c..bbd903f 100644 --- a/config/modules/system76-pc.nix +++ b/config/modules/system76-pc.nix @@ -97,6 +97,11 @@ users.users.alex = { isNormalUser = true; description = "Alex"; - extraGroups = [ "networkmanager" "wheel" "libvirtd" ]; + extraGroups = [ + "networkmanager" + "wheel" + "libvirtd" # for qemu vms + "plugdev" # for android adb + ]; }; }