mysql apps and again with the cleanup script
This commit is contained in:
@@ -4,6 +4,8 @@ let
|
||||
./nix
|
||||
./modules
|
||||
];
|
||||
desktop = [
|
||||
];
|
||||
in {
|
||||
inherit shared;
|
||||
inherit shared desktop;
|
||||
}
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
"${systemModules}/studio/blender"
|
||||
"${systemModules}/studio/gimp"
|
||||
"${systemModules}/studio/inkscape"
|
||||
"${systemModules}/studio/beekeeper"
|
||||
"${systemModules}/studio/mysql-workbench"
|
||||
"${systemModules}/sysd/network/blueman"
|
||||
"${systemModules}/sysd/network/mullvad"
|
||||
"${systemModules}/sysd/network/samba"
|
||||
|
||||
18
system/modules/studio/beekeeper/default.nix
Normal file
18
system/modules/studio/beekeeper/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.studio.beekeeper;
|
||||
in {
|
||||
options = {
|
||||
modules.studio.beekeeper.enable = mkEnableOption "Enables Beekeeper Studio";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
beekeeper-studio
|
||||
];
|
||||
};
|
||||
}
|
||||
18
system/modules/studio/mysql-workbench/default.nix
Normal file
18
system/modules/studio/mysql-workbench/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.studio.mysql-workbench;
|
||||
in {
|
||||
options = {
|
||||
modules.studio.mysql-workbench.enable = mkEnableOption "Enables MySQL Workbench";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
mysql-workbench
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -4,20 +4,33 @@
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
inherit (lib) mkIf mkEnableOption mkOption mkMerge;
|
||||
cfg = config.modules.utils.misc;
|
||||
in {
|
||||
options = {
|
||||
modules.utils.misc.enable = mkEnableOption "Enables miscellaneous pacakges";
|
||||
modules.utils.misc = {
|
||||
enable = mkEnableOption "Enables miscellaneous packages";
|
||||
desktop.enable = mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Whether to install desktop-specific packages.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = [
|
||||
pkgs.nodejs_22
|
||||
pkgs.ripgrep
|
||||
pkgs.fd
|
||||
pkgs.beekeeper-studio
|
||||
pkgs.gnused
|
||||
pkgs.tree
|
||||
environment.systemPackages = mkMerge [
|
||||
[
|
||||
pkgs.nodejs_22
|
||||
pkgs.ripgrep
|
||||
pkgs.fd
|
||||
pkgs.gnused
|
||||
pkgs.tree
|
||||
]
|
||||
(mkIf cfg.desktop.enable [
|
||||
pkgs.protonup
|
||||
pkgs.winetricks
|
||||
])
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
git
|
||||
scx
|
||||
stow
|
||||
winetricks
|
||||
protonup
|
||||
];
|
||||
localBinInPath = true;
|
||||
};
|
||||
@@ -49,7 +47,7 @@
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
# Keep the last 3 generations
|
||||
options = "--delete-older-than +3";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user