summaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
authoranand <anand.panchdhari@gmail.com>2025-12-22 14:38:19 +0530
committeranand <anand.panchdhari@gmail.com>2025-12-22 14:38:19 +0530
commite39d75682497733bb4013c82ae7d4746191e04d9 (patch)
tree227c748f3528ae7176c3066899e67160a297c7b9 /configuration.nix
parent0a8613fbd7e6aafd9c2713e111891b18c445f943 (diff)
working on localsend not working
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix36
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; [