From f2181f49b7ce72fb37ef506172987c2cef2a1863 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Mon, 4 Jul 2022 12:48:10 +0900 Subject: Install some good stuff --- nix/configuration.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'nix/configuration.nix') 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; -- cgit 1.4.1