This commit is contained in:
Peritia 2025-07-24 15:19:29 +02:00
commit f89801cd39
418 changed files with 1855 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.krita;
in {
options.krita.enable = mkEnableOption "Enable krita";
config = mkIf cfg.enable {
home.packages = with pkgs; [
pkgs.krita
];
};
}

View file

@ -0,0 +1,15 @@
{
config,
lib,
pkgs,
...
}:
with lib; {
options.obsidian.enable = mkEnableOption "Enable Obsidian installation";
config = mkIf config.obsidian.enable {
home.packages = with pkgs; [
obsidian
];
};
}

View file

@ -0,0 +1,23 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config;
officeApps = with pkgs; [
libreoffice
thunderbird
];
in {
options.officeApps.enable = mkEnableOption ''
Enable office/document applications (e.g., LibreOffice, Thunderbird)
'';
config = {
home.packages =
optionals cfg.officeApps.enable officeApps;
};
}

View file

@ -0,0 +1,17 @@
{
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.signal;
in {
options.signal.enable = mkEnableOption "Enable Signals Desktop Version";
config = mkIf cfg.enable {
home.packages = with pkgs; [
pkgs.signal-desktop
];
};
}

View file

@ -0,0 +1,16 @@
{
config,
lib,
pkgs,
...
}:
with lib; {
options.spotify.enable = mkEnableOption "Enable Spotify installation";
config = mkIf config.spotify.enable {
home.packages = with pkgs; [
spotify
cava
];
};
}

View file

@ -0,0 +1,22 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config;
standardApps = with pkgs; [
kdePackages.gwenview
kdePackages.okular
];
in {
options.standardApps.enable = mkEnableOption ''
Enable image and graphics applications (e.g., Gwenview, Okular)
'';
config = {
home.packages = optionals cfg.standardApps.enable standardApps;
};
}

View file

@ -0,0 +1,17 @@
{
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.vesktop;
in {
options.vesktop.enable = mkEnableOption "Enable Vesktop, the Custom Discord client, with extensions";
config = mkIf cfg.enable {
home.packages = with pkgs; [
pkgs.vesktop
];
};
}

View file

@ -0,0 +1,24 @@
{
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.vscodium-and-extension;
in {
options.vscodium-and-extension.enable = mkEnableOption "Enable VScodium with extensions";
config = mkIf cfg.enable {
programs.vscode = {
enable = true;
package = pkgs.vscodium;
profiles.default.extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
jnoortheen.nix-ide
ms-python.python
ms-azuretools.vscode-docker
];
};
};
}