feat: move stuff to even more separate modules.

This commit is contained in:
CronyAkatsuki 2025-03-20 13:22:26 +01:00
parent 585f9dd0d7
commit 448e82464a
6 changed files with 95 additions and 46 deletions

View File

@ -13,52 +13,6 @@
home.homeDirectory = "/home/crony";
# PACKAGES
home.packages = with pkgs; [
keepassxc
tutanota-desktop
spice-gtk
vesktop
piper
heroic
prismlauncher
protonup-qt
protontricks
jellyfin-mpv-shim
itch
wineWowPackages.staging
osu-lazer-bin
overskride
delfin
# Setting up emulator just cause
(retroarch.withCores (
cores:
with cores; [
beetle-saturn
parallel-n64
flycast
desmume
]
))
duckstation
pcsx2
dolphin-emu
xemu
rpcs3
cemu
ppsspp-sdl-wayland
mame-tools
];
programs.thunderbird = {
enable = true;
profiles.default.isDefault = true;
};
# Install foot
programs.foot.enable = true;
# Install imv
programs.imv.enable = true;
# Enable syncthing
services.syncthing.enable = true;

View File

@ -13,6 +13,9 @@
./browsers
./shell.nix
./scripts.nix
./emulators.nix
./desktop.nix
./gaming.nix
];
crony.mangohud.enable = lib.mkDefault true;
@ -28,4 +31,7 @@
crony.browsers.enable = lib.mkDefault true;
crony.shell.enable = lib.mkDefault true;
crony.scripts.enable = lib.mkDefault true;
crony.emulators.enable = lib.mkDefault true;
crony.desktop.enable = lib.mkDefault true;
crony.gaming.enable = lib.mkDefault true;
}

View File

@ -0,0 +1,32 @@
{
config,
pkgs,
lib,
...
}: {
options = {
crony.desktop.enable = lib.mkEnableOption "Settings for setting up my desktop linux (mostly just my apps)";
};
config = lib.mkIf config.crony.desktop.enable {
home.packages = with pkgs; [
keepassxc
tutanota-desktop
spice-gtk
vesktop
piper
jellyfin-mpv-shim
overskride
delfin
];
# Install thunderbird
programs.thunderbird = {
enable = true;
profiles.default.isDefault = true;
};
# Install imv
programs.imv.enable = true;
};
}

View File

@ -0,0 +1,32 @@
{
config,
pkgs,
lib,
...
}: {
options = {
crony.emulators.enable = lib.mkEnableOption "Install my emulators";
};
config = lib.mkIf config.crony.emulators.enable {
home.packages = with pkgs; [
(retroarch.withCores (
cores:
with cores; [
beetle-saturn
parallel-n64
flycast
desmume
]
))
duckstation
pcsx2
dolphin-emu
xemu
rpcs3
cemu
ppsspp-sdl-wayland
mame-tools
];
};
}

View File

@ -0,0 +1,22 @@
{
config,
pkgs,
lib,
...
}: {
options = {
crony.gaming.enable = lib.mkEnableOption "Install gaming related packages";
};
config = lib.mkIf config.crony.gaming.enable {
home.packages = with pkgs; [
heroic
prismlauncher
protonup-qt
protontricks
itch
wineWowPackages.staging
osu-lazer-bin
];
};
}

View File

@ -108,6 +108,9 @@ in {
};
};
# Install foot
programs.foot.enable = true;
# Setup and enable mako
services.mako = {
enable = true;