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