cleaned up packages file for leyla
This commit is contained in:
parent
d828fc27dc
commit
afc0dfdb35
3 changed files with 36 additions and 37 deletions
|
@ -34,35 +34,6 @@
|
|||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"electron-25.9.0"
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
# idea is too out of date for android gradle things
|
||||
jetbrains = {
|
||||
jdk = super.jdk17;
|
||||
idea-community = super.jetbrains.idea-community.overrideAttrs (oldAttrs: rec {
|
||||
version = "2023.3.3";
|
||||
name = "idea-community-${version}";
|
||||
src = super.fetchurl {
|
||||
sha256 = "sha256-3BI97Tx+3onnzT1NXkb62pa4dj9kjNDNvFt9biYgP9I=";
|
||||
url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
|
||||
};
|
||||
});
|
||||
};
|
||||
# ui is broken on 1.84
|
||||
vscodium = super.vscodium.overrideAttrs (oldAttrs: rec {
|
||||
version = "1.85.2.24019";
|
||||
src = super.fetchurl {
|
||||
sha256 = "sha256-OBGFXOSN+Oq9uj/5O6tF0Kp7rxTY1AzNbhLK8G+EqVk=";
|
||||
url = "https://github.com/VSCodium/vscodium/releases/download/${version}/VSCodium-linux-x64-${version}.tar.gz";
|
||||
};
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue