restructured modules, toggling them, overlays

This commit is contained in:
2024-04-19 14:55:22 -06:00
parent 14676a34dc
commit 71c838a95a
24 changed files with 1173 additions and 76 deletions

25
modules/apps/art.nix Normal file
View File

@@ -0,0 +1,25 @@
{ config, pkgs, lib, unstable, ... }:
{
options = {
myArt.enable = lib.mkEnableOption "enable";
myGameDev.enable = lib.mkEnableOption "enable";
};
config = lib.mkIf config.myArt.enable {
users.users.jawz.packages = with pkgs;
([
gimp # the coolest bestest art program to never exist
krita # art to your heart desire!
mypaint # not the best art program
mypaint-brushes # but it's got some
mypaint-brushes1 # nice damn brushes
# drawpile # arty party with friends!!
pureref # create inspiration/reference boards
blender # cgi animation and sculpting
]) ++ (if config.myGameDev.enable then [
godot_4 # game development
unstable.gdtoolkit # gdscript language server
] else
[ ]);
};
}

View File

@@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
users.users.jawz.packages = with pkgs; ([
hunspell
hunspellDicts.it_IT
hunspellDicts.es_MX
hunspellDicts.es_ES
hunspellDicts.en_CA-large
]);
}

10
modules/apps/fonts.nix Normal file
View File

@@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
users.users.jawz.packages = with pkgs; ([
(nerdfonts.override {
fonts = [ "CascadiaCode" "ComicShannsMono" "Iosevka" ];
})
symbola
]);
}

38
modules/apps/gaming.nix Normal file
View File

@@ -0,0 +1,38 @@
{ config, pkgs, lib, ... }:
{
options = { myGaming.enable = lib.mkEnableOption "enable"; };
config = lib.mkIf config.myGaming.enable {
programs = {
steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
};
users.users.jawz.packages = with pkgs; ([
(lutris.override {
extraPkgs = pkgs: [
winetricks
wine64Packages.stable
wineWowPackages.stable
];
})
cartridges # games launcher
heroic # install epic games
gamemode # optimizes linux to have better gaming performance
# grapejuice # roblox manager
# minecraft # minecraft official launcher
protonup-qt # update proton-ge
# ns-usbloader # load games into my switch
# emulators
rpcs3 # ps3 emulator
pcsx2 # ps2 emulator
cemu # wii u emulator
dolphin-emu # wii emulator
citra-nightly # 3Ds emulator
snes9x-gtk # snes emulator
]);
};
}

27
modules/apps/internet.nix Normal file
View File

@@ -0,0 +1,27 @@
{ config, pkgs, ... }:
{
programs = {
geary.enable = true;
firefox = {
enable = true;
languagePacks = [ "en-CA" "es-MX" "it" ];
};
};
services = { psd.enable = true; };
users.users.jawz.packages = with pkgs; ([
nextcloud-client # self-hosted google-drive alternative
fragments # beautiful torrent client
protonmail-bridge # bridge for protonmail
tor-browser-bundle-bin # dark web, so dark!
chromium # web browser with spyware included
telegram-desktop # furry chat
nicotine-plus # remember Ares?
vesktop
(pkgs.discord.override {
withOpenASAR = true;
# withVencord = true;
})
# hugo # website engine
]);
}

13
modules/apps/office.nix Normal file
View File

@@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
users.users.jawz.packages = with pkgs; ([
libreoffice # office, but based
calibre # ugly af eBook library manager
newsflash # feed reader, syncs with nextcloud
furtherance # I packaged this one tehee track time utility
# foliate # gtk eBook reader
# wike # gtk wikipedia wow!
# denaro # manage your finances
]);
}