summaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
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; [