cleaned up packages file for leyla

This commit is contained in:
Leyla Becker 2024-03-11 00:43:10 -05:00
parent d828fc27dc
commit afc0dfdb35
3 changed files with 36 additions and 37 deletions

View file

@ -8,7 +8,11 @@ in
];
options.users.leyla = {
isNormalUser = lib.mkEnableOption "leyla";
isNormalUser = lib.mkEnableOption "create usable leyla user";
hasPiperMouse = lib.mkEnableOption "install programs for managing piper supported mouses";
hasOpenRGBHardware = lib.mkEnableOption "install programs for managing openRGB supported hardware";
hasViaKeyboard = lib.mkEnableOption "install programs for managing via supported keyboards";
hasGPU = lib.mkEnableOption "installs gpu intensive programs";
};
config = {

View file

@ -14,6 +14,12 @@ in
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
programs.noisetorch.enable = true;
nixpkgs.config.permittedInsecurePackages = [
"electron-25.9.0"
];
users.users.leyla.packages = lib.mkIf cfg.isNormalUser (
with pkgs; [
#foss platforms
@ -23,17 +29,26 @@ in
ungoogled-chromium
libreoffice
inkscape
gimp
krita
freecad
kicad-small
cura
kicad-small
makemkv
transmission-gtk
easytag
rhythmbox
onionshare
# easytag
# rhythmbox
(lib.mkIf cfg.hasGPU obs-studio)
# wireshark
# rpi-imager
# fritzing
# proprietary platforms
discord
obsidian
steam
(lib.mkIf cfg.hasGPU davinci-resolve)
# development enviroments
vscodium
@ -45,17 +60,23 @@ in
# TODO: move these to flakes
nodejs
# bridges
# system tools
protonvpn-gui
nextcloud-client
noisetorch
# hardware managment tools
(lib.mkIf cfg.hasPiperMouse piper)
(lib.mkIf cfg.hasOpenRGBHardware openrgb)
(lib.mkIf cfg.hasViaKeyboard via)
# gaming
# steam
# emulators
# nintendo
yuzu-mainline # Switch Emulator
(lib.mkIf cfg.hasGPU yuzu-mainline) # Switch Emulator
citra-canary # 3DS emulator
cemu # Wii-U emulator
(lib.mkIf cfg.hasGPU cemu) # Wii-U emulator
dolphin-emu # GameCube and Wii Emulator
desmume # DS Emulator
mupen64plus # N64 Emulator
@ -63,7 +84,10 @@ in
vbam # Game Boy Advanced Emulator
fceux # NES Emulator
# play station
pcsxr # PS1 Emulator
pcsx2 # PS2 Emulator
rpcs3 # PS3 Emulator
# TODO: more play station emulators here when they come out
#misc
stella # Atari 2600 Emulator
mame # mame Emulator