fix: add more packages

main
Muhammad Faizud Daroin 2 years ago
parent 4a6b760880
commit 2f2c1e2922
  1. 52
      configuration.nix

@ -5,7 +5,9 @@
# { config, pkgs, riderpkgs, ... }: # { config, pkgs, riderpkgs, ... }:
{ config, pkgs, ... }: { config, pkgs, ... }:
{ let
unstable = import <unstable> {};
in {
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
@ -26,7 +28,7 @@
options = [ "rw" "uid=1000" ]; options = [ "rw" "uid=1000" ];
}; };
networking.hostName = "nixos"; # Define your hostname. networking.hostName = "unicorn"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary # Configure network proxy if necessary
@ -101,6 +103,11 @@
dataDir = "/home/bandeng/Sync"; # Default folder for new synced folders dataDir = "/home/bandeng/Sync"; # Default folder for new synced folders
}; };
services.tailscale.enable = true; services.tailscale.enable = true;
services.mullvad-vpn.enable = true;
services.vnstat.enable = true;
services.devmon.enable = true;
services.gvfs.enable = true;
services.udisks2.enable = true;
# Enable OpenGL # Enable OpenGL
hardware.graphics = { hardware.graphics = {
@ -154,9 +161,12 @@
extraGroups = [ "networkmanager" "wheel" "docker" "autologin" ]; extraGroups = [ "networkmanager" "wheel" "docker" "autologin" ];
packages = with pkgs; [ packages = with pkgs; [
# thunderbird # thunderbird
opera firefox
]; ];
}; };
nix.extraOptions = ''
trusted-users = root bandeng
'';
users.defaultUserShell = pkgs.fish; users.defaultUserShell = pkgs.fish;
@ -197,7 +207,7 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. unstable.neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget wget
fzf fzf
ripgrep ripgrep
@ -233,8 +243,8 @@
wofi wofi
dunst hyprpaper dunst hyprpaper
zoxide zoxide
libsForQt5.qt5ct
qt6ct qt6ct
libsForQt5.qt5ct
networkmanagerapplet networkmanagerapplet
bluez bluez
pavucontrol pavucontrol
@ -249,11 +259,12 @@
adwaita-qt6 adwaita-qt6
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
nemo-with-extensions xdg-user-dirs
nautilus
gvfs gvfs
hyprcursor hyprcursor
loupe loupe
microsoft-edge google-chrome
asdf-vm asdf-vm
kdePackages.kdeconnect-kde kdePackages.kdeconnect-kde
file-roller file-roller
@ -272,20 +283,31 @@
bottles bottles
sddm-sugar-dark sddm-sugar-dark
killall killall
qbittorrent
eww
kdePackages.qtstyleplugin-kvantum
kdePackages.qtsvg
gdk-pixbuf
mullvad-vpn
wayvnc
libnotify
devenv
android-studio
qdirstat
cava
fuse
dotnet-sdk
# riderpkgs.jetbrains.rider # riderpkgs.jetbrains.rider
]; ];
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
noto-fonts noto-fonts
noto-fonts-cjk-sans noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji
noto-fonts-extra noto-fonts-extra
cantarell-fonts cantarell-fonts
inter inter
(nerdfonts.override { fonts = [ "Iosevka" "FiraCode" ]; }) (nerdfonts.override { fonts = [ "Iosevka" "FiraCode" ]; })
]; ];
fonts.fontDir.enable = true;
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
@ -308,6 +330,16 @@
networking.firewall.allowedTCPPorts = [ 22000 ]; networking.firewall.allowedTCPPorts = [ 22000 ];
networking.firewall.allowedUDPPorts = [ 22000 21027 ]; networking.firewall.allowedUDPPorts = [ 22000 21027 ];
networking.interfaces.enp4s0.wakeOnLan.enable = true; networking.interfaces.enp4s0.wakeOnLan.enable = true;
# networking.enableIPv6 = false;
networking.nameservers = [ "8.8.8.8" "8.8.4.4" ];
services.resolved = {
enable = true;
dnssec = "true";
domains = [ "~." ];
fallbackDns = [ "8.8.8.8 8.8.4.4" ];
dnsovertls = "true";
};
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
virtualisation.docker.enable = true; virtualisation.docker.enable = true;

Loading…
Cancel
Save