Add packages

This commit is contained in:
Faris 2026-04-28 13:32:41 +01:00
parent e3cea535eb
commit fcb3523815
4 changed files with 26 additions and 60 deletions

View File

@ -16,7 +16,7 @@ To rebuild and switch to the configuration, first copy over the *hardware.nix* w
sudo nixos-rebuild switch --flake .#desktop sudo nixos-rebuild switch --flake .#desktop
``` ```
``` ```
sudo nixos-rebuild switch --flake .#admins-MacBook-Air sudo darwin-rebuild switch --flake .#admins-MacBook-Air
``` ```
``` ```
sudo nixos-rebuild switch --flake .#nixos-server sudo nixos-rebuild switch --flake .#nixos-server

View File

@ -53,45 +53,7 @@
}; };
# unfree # unfree
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ nixpkgs.config.allowUnfree = true;
# nvidia
"nvidia-x11"
"nvidia-settings"
# cuda
"cuda_cudart"
"cuda_nvcc"
"cuda_cccl"
"libcublas"
"cuda-merged"
"cuda_cuobjdump"
"cuda_gdb"
"cuda_nvdisasm"
"cuda_nvprune"
"cuda_cupti"
"cuda_cuxxfilt"
"cuda_nvml_dev"
"cuda_nvrtc"
"cuda_nvtx"
"cuda_profiler_api"
"cuda_sanitizer_api"
"libcufft"
"libcurand"
"libcusolver"
"libnvjitlink"
"libcusparse"
"libnpp"
# other
"proton-authenticator"
"obsidian"
"via"
"steam"
"steam-unwrapped"
"osu-lazer-bin"
"corefonts"
"brgenml1lpr"
"unrar"
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
zsh zsh
@ -105,9 +67,11 @@
nmap nmap
tree tree
p7zip p7zip
unrar unar
inetutils # telnet inetutils # telnet
wget wget
dnsutils
iftop
# media # media
yt-dlp yt-dlp
@ -130,6 +94,8 @@
"server" = "ssh admin@192.168.0.30"; "server" = "ssh admin@192.168.0.30";
"desktop" = "ssh admin@192.168.30.40"; "desktop" = "ssh admin@192.168.30.40";
"server-nut" = "ssh admin@192.168.0.20"; "server-nut" = "ssh admin@192.168.0.20";
"laptop" = "ssh admin@192.168.0.41";
".." = "cd .."; ".." = "cd ..";
"lsa" = "ls -al"; "lsa" = "ls -al";
}; };

View File

@ -38,6 +38,8 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
lm_sensors lm_sensors
iotop
dmidecode
]; ];
# enable developer documenation # enable developer documenation

View File

@ -8,24 +8,24 @@
programs = { programs = {
mpv = { mpv = {
enable = true; enable = true;
package = pkgs.mpv.override { package = pkgs.mpv.override {
scripts = with pkgs.mpvScripts; [ scripts = with pkgs.mpvScripts; [
sponsorblock sponsorblock
]; ];
}; };
config = { config = {
profile = "high-quality"; profile = "high-quality";
ytdl-format = "bestvideo+bestaudio"; ytdl-format = "bestvideo+bestaudio";
cache-default = 4000000; cache-default = 4000000;
loop-file = "inf"; loop-file = "inf";
}; };
extraInput = '' extraInput = ''
r cycle_values video-rotate 90 180 270 0 r cycle_values video-rotate 90 180 270 0
''; '';
}; };
neovim = { neovim = {
enable = true; enable = true;
@ -76,8 +76,6 @@
zsh = { zsh = {
enable = true; enable = true;
dotDir = "${config.xdg.configHome}/zsh"; dotDir = "${config.xdg.configHome}/zsh";
#enableCompletions = true;
#autosuggestions.enable = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;