2024-09-09 00:22:14 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-09-13 01:50:53 +00:00
|
|
|
with lib; let
|
2024-09-09 00:22:14 +00:00
|
|
|
cfg = config.custom.settings.packages;
|
2024-09-13 01:50:53 +00:00
|
|
|
in {
|
2024-09-09 00:22:14 +00:00
|
|
|
options.custom.settings.packages = {
|
2024-09-13 01:50:53 +00:00
|
|
|
enable = mkOption {default = false;};
|
|
|
|
extra = mkOption {default = [];};
|
2024-09-09 00:22:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable (
|
2024-09-13 01:50:53 +00:00
|
|
|
with pkgs; {
|
2024-09-09 00:22:14 +00:00
|
|
|
environment.systemPackages =
|
|
|
|
cfg.extra
|
2024-09-18 13:40:42 +00:00
|
|
|
++ optionals config.custom.default [
|
2024-09-09 00:22:14 +00:00
|
|
|
# CLI applications
|
|
|
|
config.boot.kernelPackages.cpupower # Install for current kernel
|
|
|
|
|
2024-09-11 23:15:35 +00:00
|
|
|
alejandra
|
2024-09-09 00:22:14 +00:00
|
|
|
fd
|
|
|
|
fzf
|
|
|
|
jq
|
2024-09-14 21:05:34 +00:00
|
|
|
libqalculate # qalc
|
2024-09-09 00:22:14 +00:00
|
|
|
lm_sensors # sensors
|
|
|
|
nix-output-monitor # nom
|
|
|
|
nix-tree
|
|
|
|
nmap
|
|
|
|
nvd
|
|
|
|
progress
|
|
|
|
rclone
|
|
|
|
stress
|
|
|
|
trashy
|
|
|
|
waypipe
|
|
|
|
wl-clipboard # wl-copy/wl-paste
|
|
|
|
xclip
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
man-pages
|
|
|
|
man-pages-posix
|
|
|
|
]
|
|
|
|
++ optionals config.custom.minimal [
|
|
|
|
# GUI applications
|
|
|
|
kdiskmark # Must be system package for polkit
|
|
|
|
|
|
|
|
# CLI applications
|
|
|
|
# https://github.com/sonic2kk/steamtinkerlaunch
|
|
|
|
# TODO: Remove when v14 released on nixpkgs
|
|
|
|
# https://github.com/sonic2kk/steamtinkerlaunch/issues/992
|
|
|
|
# Build from latest commit
|
2024-09-13 01:50:53 +00:00
|
|
|
(steamtinkerlaunch.overrideAttrs {src = inputs.steamtinkerlaunch;})
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
p7zip # steamtinkerlaunch (Special K)
|
|
|
|
]
|
|
|
|
++ optionals config.custom.full [
|
|
|
|
# GUI applications
|
|
|
|
amberol
|
|
|
|
baobab
|
|
|
|
blackbox-terminal
|
|
|
|
cinny-desktop
|
|
|
|
d-spy
|
|
|
|
dconf-editor
|
|
|
|
discord
|
|
|
|
easyeffects
|
|
|
|
element-desktop
|
|
|
|
evince
|
|
|
|
flare-signal
|
|
|
|
fluffychat
|
|
|
|
#// fractal
|
2024-09-20 00:39:35 +00:00
|
|
|
fragments
|
2024-09-09 00:22:14 +00:00
|
|
|
gcolor3
|
|
|
|
gitg
|
|
|
|
github-desktop
|
|
|
|
gnome-boxes
|
|
|
|
gnome-calculator
|
|
|
|
gnome-calendar
|
|
|
|
gnome-connections
|
|
|
|
gnome-disk-utility
|
|
|
|
gnome-resources
|
|
|
|
gnome-software
|
|
|
|
gnome-system-monitor
|
|
|
|
gnome-text-editor
|
|
|
|
gnome-tweaks
|
|
|
|
gnome-usage
|
|
|
|
gradience
|
|
|
|
gtkcord4
|
|
|
|
gtkterm
|
|
|
|
heroic
|
|
|
|
icon-library
|
|
|
|
impression
|
|
|
|
logseq
|
|
|
|
loupe
|
|
|
|
lutris
|
2024-09-14 21:06:39 +00:00
|
|
|
newsflash
|
2024-09-09 00:22:14 +00:00
|
|
|
nheko
|
|
|
|
obsidian
|
2024-09-14 21:03:48 +00:00
|
|
|
onlyoffice-bin
|
2024-09-09 00:22:14 +00:00
|
|
|
path-of-building
|
|
|
|
pika-backup
|
|
|
|
protonup-qt
|
|
|
|
protonvpn-gui
|
|
|
|
pwvucontrol
|
|
|
|
remmina
|
2024-09-26 02:34:33 +00:00
|
|
|
signal-desktop
|
2024-09-09 00:22:14 +00:00
|
|
|
snapshot
|
|
|
|
spotify
|
|
|
|
syncthingtray
|
|
|
|
telegram-desktop
|
|
|
|
variety
|
|
|
|
ventoy
|
|
|
|
virt-viewer
|
|
|
|
wildcard
|
|
|
|
wowup-cf
|
|
|
|
#// xivlauncher
|
|
|
|
youtube-music
|
|
|
|
|
|
|
|
#!! Must be downloaded manually due to licensing
|
2024-10-18 00:48:15 +00:00
|
|
|
# (ciscoPacketTracer8.overrideAttrs {
|
|
|
|
# src = /home/myned/SYNC/linux/config/cisco/CiscoPacketTracer822_amd64_signed.deb;
|
|
|
|
# })
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
# CLI applications
|
|
|
|
inputs.agenix.packages.${system}.default
|
|
|
|
|
|
|
|
betterdiscordctl
|
|
|
|
bitwarden-cli
|
|
|
|
brightnessctl
|
|
|
|
devbox
|
|
|
|
er-patcher # Elden Ring fixes
|
|
|
|
firefoxpwa
|
|
|
|
glxinfo # glxgears
|
|
|
|
hwloc # lstopo
|
|
|
|
freerdp3
|
|
|
|
grimblast
|
|
|
|
imagemagick
|
|
|
|
libinput
|
|
|
|
libnotify # notify-send
|
|
|
|
linux-wifi-hotspot # create_ap
|
|
|
|
nixos-anywhere
|
|
|
|
nvtopPackages.full # nvtop
|
|
|
|
playerctl
|
|
|
|
satty
|
|
|
|
tio
|
|
|
|
usbutils # lsusb
|
|
|
|
vrrtest
|
|
|
|
winetricks
|
|
|
|
xdg-utils # xdg-open
|
|
|
|
ydotool # TODO: Remove when using service
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
wineWowPackages.unstableFull # WoW64, not World of Warcraft
|
|
|
|
|
|
|
|
# TODO: Use home.gtk.theme.package when fixed upstream
|
|
|
|
# https://github.com/nix-community/home-manager/issues/5133
|
|
|
|
adw-gtk3
|
|
|
|
|
|
|
|
# Python packages
|
|
|
|
# https://wiki.nixos.org/wiki/Python#Package_unavailable_in_Nixpkgs
|
|
|
|
# https://wiki.nixos.org/wiki/Packaging/Python
|
|
|
|
(python311.withPackages (
|
2024-09-13 01:50:53 +00:00
|
|
|
ps:
|
|
|
|
with ps; [
|
|
|
|
# lifx-cli
|
|
|
|
# https://github.com/Rawa/lifx-cli
|
|
|
|
(buildPythonPackage {
|
|
|
|
pname = "lifx-cli";
|
|
|
|
version = "master";
|
|
|
|
src = inputs.lifx-cli;
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = with python311Packages; [requests];
|
|
|
|
})
|
|
|
|
]
|
2024-09-09 00:22:14 +00:00
|
|
|
))
|
|
|
|
];
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|