diff options
| author | anand <anand.panchdhari@gmail.com> | 2025-12-22 14:38:19 +0530 |
|---|---|---|
| committer | anand <anand.panchdhari@gmail.com> | 2025-12-22 14:38:19 +0530 |
| commit | e39d75682497733bb4013c82ae7d4746191e04d9 (patch) | |
| tree | 227c748f3528ae7176c3066899e67160a297c7b9 /configuration.nix | |
| parent | 0a8613fbd7e6aafd9c2713e111891b18c445f943 (diff) | |
working on localsend not working
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/configuration.nix b/configuration.nix index e2cc914..1a5b50c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -23,6 +23,30 @@ networking.networkmanager.enable = true; + networking.firewall = { + enable = true; + allowedTCPPorts = [ + 80 + 443 + 22 + 53317 + ]; + allowedUDPPorts = [ + 53317 + 5353 + ]; + allowedUDPPortRanges = [ + { + from = 4000; + to = 4007; + } + { + from = 8000; + to = 8010; + } + ]; + }; + time.timeZone = "Asia/Kolkata"; nixpkgs.config.allowUnfree = true; @@ -66,12 +90,16 @@ "kvm" "docker" ]; - packages = with pkgs; [ - tree - ]; + }; + + environment.sessionVariables = { + NH_FLAKE = "/home/anand/dots/"; }; environment.systemPackages = with pkgs; [ + btop + nix-output-monitor + nvd unzip zip vim @@ -100,7 +128,6 @@ gnome.gvfs wlr-randr bat - batsignal vlc zathura localsend @@ -117,6 +144,7 @@ hyprlock hyprshot trashy + nh ]; fonts.packages = with pkgs; [ |
