mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
153 lines
2.5 KiB
Nix
153 lines
2.5 KiB
Nix
{
|
|
pkgs,
|
|
gamingSystem,
|
|
workSystem,
|
|
currentSystemDe,
|
|
...
|
|
}@inputs:
|
|
{
|
|
imports = [
|
|
./programs
|
|
];
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
environment.systemPackages =
|
|
with pkgs;
|
|
[
|
|
# CLI utils
|
|
appimage-run
|
|
bat
|
|
btop
|
|
bun
|
|
busybox
|
|
distrobox
|
|
docker
|
|
dua
|
|
fd
|
|
fish
|
|
fzf
|
|
gh
|
|
git
|
|
gitlab-ci-local
|
|
gnumake
|
|
htop
|
|
jq
|
|
just
|
|
killall
|
|
krabby
|
|
lazygit
|
|
nmap
|
|
nodejs
|
|
openssl
|
|
openvpn
|
|
pinentry-tty
|
|
python3
|
|
ripgrep
|
|
tree
|
|
unzip
|
|
wget
|
|
wl-clipboard
|
|
zip
|
|
zoxide
|
|
zulu
|
|
|
|
# Man pages
|
|
man-pages
|
|
|
|
vim # The only and one great editor
|
|
inputs.nixvim.packages.${stdenv.hostPlatform.system}.default # The only and one great editor improved even further
|
|
|
|
inputs.spotiflac-cli.packages.${stdenv.hostPlatform.system}.default
|
|
]
|
|
++ (
|
|
if currentSystemDe != "none" then
|
|
[
|
|
# Video card
|
|
vulkan-tools
|
|
|
|
# GUI applications
|
|
addwater
|
|
baobab
|
|
bazaar
|
|
blackbox-terminal
|
|
delfin
|
|
discord
|
|
firefox
|
|
gapless
|
|
gnome-boxes
|
|
mpv
|
|
nextcloud-client
|
|
obs-studio
|
|
piper
|
|
seahorse
|
|
telegram-desktop
|
|
thunderbird
|
|
]
|
|
else
|
|
[ ]
|
|
)
|
|
++ (
|
|
if gamingSystem then
|
|
[
|
|
cura-appimage
|
|
heroic
|
|
lutris
|
|
mangohud
|
|
openrgb
|
|
prismlauncher
|
|
protonplus
|
|
satisfactorymodmanager
|
|
|
|
# Required for Discord RPC
|
|
arrpc
|
|
]
|
|
else
|
|
[ ]
|
|
)
|
|
++ (
|
|
if workSystem then
|
|
[
|
|
android-studio
|
|
ansible
|
|
virt-manager
|
|
]
|
|
else
|
|
[ ]
|
|
)
|
|
++ (
|
|
if currentSystemDe == "plasma" then
|
|
[
|
|
kdePackages.wallpaper-engine-plugin
|
|
]
|
|
else
|
|
[ ]
|
|
)
|
|
++ (
|
|
if currentSystemDe == "hyprland" then
|
|
[
|
|
# Hyprland
|
|
brightnessctl
|
|
hyprpaper
|
|
pamixer
|
|
pavucontrol
|
|
kdePackages.dolphin
|
|
]
|
|
else
|
|
[ ]
|
|
)
|
|
++ (
|
|
if currentSystemDe == "gnome" then
|
|
[
|
|
gnome-tweaks
|
|
gnomeExtensions.appindicator
|
|
gnomeExtensions.caffeine
|
|
gnomeExtensions.dash-to-dock
|
|
gnomeExtensions.wallpaper-slideshow
|
|
]
|
|
else
|
|
[ ]
|
|
);
|
|
|
|
}
|