about summary refs log tree commit diff
path: root/nix/configuration.nix
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-07-04 12:48:10 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-07-04 12:48:10 +0900
commitf2181f49b7ce72fb37ef506172987c2cef2a1863 (patch)
tree59f7513fce3431ca386c12161041af47ddf90504 /nix/configuration.nix
parent5de43bb3740eef3f040da93eea1fe08c9bc26263 (diff)
downloaddotfiles-f2181f49b7ce72fb37ef506172987c2cef2a1863.tar.gz
Install some good stuff
Diffstat (limited to 'nix/configuration.nix')
-rw-r--r--nix/configuration.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/nix/configuration.nix b/nix/configuration.nix
index 5b1f698..139063d 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -29,7 +29,7 @@
   networking = {
     hostName = "nix";
     hosts = {
-      "0.0.0.0" = [ "9gag.com" "voz.vn" ];
+      "0.0.0.0" = [ ];
     };
     nameservers = [ "9.9.9.11" "149.112.112.11" ];
     networkmanager.enable = true;
@@ -44,6 +44,7 @@
     # proxy.noProxy = "127.0.0.1,localhost,internal.domain";
 
     # Open ports in the firewall.
+    firewall.allowedTCPPorts = [ 59879 ];
     firewall.allowedUDPPorts = [ 4001 ];
   };
 
@@ -58,13 +59,13 @@
 
   users.users.sea = {
     isNormalUser = true;
-    extraGroups = [ "dialout" "networkmanager" "video" "wheel" ];
+    extraGroups = [ "dialout" "ipfs" "networkmanager" "video" "wheel" ];
   };
 
   environment.systemPackages = with pkgs; [
-    compsize cryptsetup htop inotify-tools killall rsync unzip zip
+    compsize cryptsetup htop-vim inotify-tools killall rsync unzip zip
     oathToolkit isync stow tor w3m wget yt-dlp
-    mpv pavucontrol sent vimiv-qt yacreader
+    imv mpv pavucontrol sent yacreader
     ffmpeg gimp imagemagick inkscape mkvtoolnix pdftk simplescreenrecorder sox
   ];
 
@@ -74,6 +75,8 @@
   security.rtkit.enable = true;
   # List services that you want to enable:
   services = {
+    mullvad-vpn.enable = true;
+
     pipewire = {
       enable = true;
       alsa.enable = true;