Live: Add all the packages.

This commit is contained in:
Dmitry Voronin 2024-12-14 03:14:59 +03:00
parent f435197f13
commit 4a27ffe6eb
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
10 changed files with 65 additions and 39 deletions

View file

@ -75,7 +75,7 @@ in {
})
# Creativity.
(lib.mkIf cfg.creativity {
(lib.mkIf cfg.creative {
environment.systemPackages = package.creative;
})

View file

@ -6,10 +6,10 @@
cfg = config.module.purpose;
in {
config = lib.mkMerge [
(lib.mkIf cfg.creativity {
(lib.mkIf cfg.creative {
module = {
tablet.enable = true;
package.creativity = true;
package.creative = true;
};
})
@ -61,6 +61,23 @@ in {
};
})
(lib.mkIf cfg.live {
module = {
keyd.enable = true;
sway.enable = true;
kernel.enable = true;
package = {
common = true;
core = true;
creative = true;
desktop = true;
dev = true;
extra = true;
gaming = true;
};
};
})
(lib.mkIf cfg.phone {
})

View file

@ -12,7 +12,7 @@
package.extra = true;
print.enable = true;
purpose = {
creativity = true;
creative = true;
desktop = true;
disown = true;
gaming = true;

View file

@ -11,7 +11,7 @@
display.primary = "eDP-1";
print.enable = true;
purpose = {
creativity = true;
creative = true;
disown = true;
gaming = true;
laptop = true;

View file

@ -18,5 +18,13 @@
# Root user setup.
home.nixos.enable = true;
user.root = true;
user = {
root = true;
voronind = true;
};
module = {
builder.client.enable = true;
purpose.live = true;
};
}

View file

@ -12,7 +12,7 @@
print.enable = true;
syncthing.enable = true;
purpose = {
creativity = true;
creative = true;
gaming = true;
laptop = true;
work = true;

View file

@ -10,7 +10,7 @@
package.extra = true;
print.enable = true;
purpose = {
creativity = true;
creative = true;
gaming = true;
laptop = true;
work = true;

View file

@ -17,7 +17,7 @@
builder.client.enable = true;
powerlimit.thinkpad.enable = true;
purpose = {
creativity = true;
creative = true;
disown = true;
gaming = true;
laptop = true;

View file

@ -5,7 +5,7 @@
options.module.package = {
common = lib.mkEnableOption "Common Apps.";
core = lib.mkEnableOption "Core apps.";
creativity = lib.mkEnableOption "Creative Apps.";
creative = lib.mkEnableOption "Creative Apps.";
desktop = lib.mkEnableOption "Desktop Apps.";
dev = lib.mkEnableOption "Dev Apps.";
extra = lib.mkEnableOption "Extra Apps.";

View file

@ -3,11 +3,12 @@
...
}: {
options.module.purpose = {
creativity = lib.mkEnableOption "creativity modules";
creative = lib.mkEnableOption "creativity modules.";
desktop = lib.mkEnableOption "desktop modules.";
disown = lib.mkEnableOption "modules for machines not used by me.";
gaming = lib.mkEnableOption "gaming modules.";
laptop = lib.mkEnableOption "laptop modules.";
live = lib.mkEnableOption "live modules.";
phone = lib.mkEnableOption "phone modules.";
router = lib.mkEnableOption "router modules.";
server = lib.mkEnableOption "server modules.";