mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: move guiPkgs to gui.nix
This commit is contained in:
parent
29839e9f5b
commit
fe43e44718
2 changed files with 104 additions and 115 deletions
|
|
@ -5,124 +5,87 @@
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
guiPkgs =
|
|
||||||
if (config.liv.gui == true) then
|
|
||||||
[
|
|
||||||
element-desktop
|
|
||||||
gajim
|
|
||||||
signal-desktop
|
|
||||||
anki-bin
|
|
||||||
obs-studio
|
|
||||||
wdisplays
|
|
||||||
librewolf # main
|
|
||||||
ungoogled-chromium # for things that don't work with librewolf
|
|
||||||
nsxiv
|
|
||||||
imv
|
|
||||||
libreoffice
|
|
||||||
xfce.thunar
|
|
||||||
spotify
|
|
||||||
spotify-player
|
|
||||||
thunderbird
|
|
||||||
lxqt.pavucontrol-qt
|
|
||||||
mpv
|
|
||||||
plasma5Packages.kdeconnect-kde
|
|
||||||
winbox
|
|
||||||
# onthespot-overlay
|
|
||||||
|
|
||||||
# Gaming
|
|
||||||
lunar-client
|
|
||||||
]
|
|
||||||
else
|
|
||||||
[
|
|
||||||
killall
|
|
||||||
];
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
home.packages =
|
home.packages = with pkgs; [
|
||||||
with pkgs;
|
# Environment shit
|
||||||
[
|
tesseract
|
||||||
# Environment shit
|
yubikey-touch-detector
|
||||||
tesseract
|
wireguard-tools
|
||||||
yubikey-touch-detector
|
openresolv
|
||||||
wireguard-tools
|
xdg-utils
|
||||||
openresolv
|
killall
|
||||||
xdg-utils
|
libnotify
|
||||||
killall
|
openssl
|
||||||
libnotify
|
pamixer
|
||||||
openssl
|
playerctl
|
||||||
pamixer
|
wl-clipboard
|
||||||
playerctl
|
cliphist
|
||||||
wl-clipboard
|
poweralertd
|
||||||
cliphist
|
ffmpeg
|
||||||
poweralertd
|
zip
|
||||||
ffmpeg
|
unzip
|
||||||
zip
|
wget
|
||||||
unzip
|
xxd
|
||||||
wget
|
gcc
|
||||||
xxd
|
gnumake
|
||||||
gcc
|
python3
|
||||||
gnumake
|
|
||||||
python3
|
|
||||||
|
|
||||||
# CLI shit
|
# CLI shit
|
||||||
termpdfpy
|
termpdfpy
|
||||||
vimv
|
vimv
|
||||||
iamb
|
iamb
|
||||||
pass
|
pass
|
||||||
lm_sensors
|
lm_sensors
|
||||||
neofetch
|
neofetch
|
||||||
hyfetch
|
hyfetch
|
||||||
glow
|
glow
|
||||||
eva
|
eva
|
||||||
exiftool
|
exiftool
|
||||||
translate-shell
|
translate-shell
|
||||||
progress
|
progress
|
||||||
pwgen
|
pwgen
|
||||||
jq
|
jq
|
||||||
tmux
|
tmux
|
||||||
htop
|
htop
|
||||||
eza
|
eza
|
||||||
file
|
file
|
||||||
fzf
|
fzf
|
||||||
lazygit
|
lazygit
|
||||||
gitleaks
|
gitleaks
|
||||||
ripgrep
|
ripgrep
|
||||||
yt-dlp
|
yt-dlp
|
||||||
nodejs_22
|
nodejs_22
|
||||||
yarn
|
yarn
|
||||||
cargo
|
cargo
|
||||||
rustc
|
rustc
|
||||||
wikit
|
wikit
|
||||||
reader
|
reader
|
||||||
nmap
|
nmap
|
||||||
speedtest-go
|
speedtest-go
|
||||||
delta
|
delta
|
||||||
powertop
|
powertop
|
||||||
android-tools
|
android-tools
|
||||||
sshpass
|
sshpass
|
||||||
net-tools
|
net-tools
|
||||||
nmap
|
nmap
|
||||||
|
|
||||||
# Install pip packages
|
# Install pip packages
|
||||||
# python3
|
# python3
|
||||||
# python3Packages.pip
|
# python3Packages.pip
|
||||||
# (writeShellScriptBin "install-pip-packages" '' # This script does not run, yet.
|
# (writeShellScriptBin "install-pip-packages" '' # This script does not run, yet.
|
||||||
# pip install --user --break-system-packages <package>
|
# pip install --user --break-system-packages <package>
|
||||||
# '')
|
# '')
|
||||||
|
|
||||||
inputs.alejandra.defaultPackage.${system}
|
inputs.alejandra.defaultPackage.${system}
|
||||||
inputs.nixvim.packages.${pkgs.system}.default
|
inputs.nixvim.packages.${pkgs.system}.default
|
||||||
mermaid-cli
|
mermaid-cli
|
||||||
gnuplot
|
gnuplot
|
||||||
|
|
||||||
# Email/calendar/etc
|
# Email/calendar/etc
|
||||||
neomutt
|
neomutt
|
||||||
w3m
|
w3m
|
||||||
khard
|
khard
|
||||||
khal
|
khal
|
||||||
vdirsyncer
|
vdirsyncer
|
||||||
]
|
];
|
||||||
++ guiPkgs;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,5 +21,31 @@ in
|
||||||
gnome.gnome-keyring.enable = true;
|
gnome.gnome-keyring.enable = true;
|
||||||
dbus.enable = true;
|
dbus.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager.users.${username}.home.packages = with pkgs; [
|
||||||
|
element-desktop
|
||||||
|
gajim
|
||||||
|
signal-desktop
|
||||||
|
anki-bin
|
||||||
|
obs-studio
|
||||||
|
wdisplays
|
||||||
|
librewolf # main
|
||||||
|
ungoogled-chromium # for things that don't work with librewolf
|
||||||
|
nsxiv
|
||||||
|
imv
|
||||||
|
libreoffice
|
||||||
|
xfce.thunar
|
||||||
|
spotify
|
||||||
|
spotify-player
|
||||||
|
thunderbird
|
||||||
|
lxqt.pavucontrol-qt
|
||||||
|
mpv
|
||||||
|
plasma5Packages.kdeconnect-kde
|
||||||
|
winbox
|
||||||
|
# onthespot-overlay
|
||||||
|
|
||||||
|
# Gaming
|
||||||
|
lunar-client
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue