Live: Add all the packages.
This commit is contained in:
parent
f435197f13
commit
7281f14186
|
@ -75,7 +75,7 @@ in {
|
||||||
})
|
})
|
||||||
|
|
||||||
# Creativity.
|
# Creativity.
|
||||||
(lib.mkIf cfg.creativity {
|
(lib.mkIf cfg.creative {
|
||||||
environment.systemPackages = package.creative;
|
environment.systemPackages = package.creative;
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
cfg = config.module.purpose;
|
cfg = config.module.purpose;
|
||||||
in {
|
in {
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
(lib.mkIf cfg.creativity {
|
(lib.mkIf cfg.creative {
|
||||||
module = {
|
module = {
|
||||||
tablet.enable = true;
|
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 {
|
(lib.mkIf cfg.phone {
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
package.extra = true;
|
package.extra = true;
|
||||||
print.enable = true;
|
print.enable = true;
|
||||||
purpose = {
|
purpose = {
|
||||||
creativity = true;
|
creative = true;
|
||||||
desktop = true;
|
desktop = true;
|
||||||
disown = true;
|
disown = true;
|
||||||
gaming = true;
|
gaming = true;
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
display.primary = "eDP-1";
|
display.primary = "eDP-1";
|
||||||
print.enable = true;
|
print.enable = true;
|
||||||
purpose = {
|
purpose = {
|
||||||
creativity = true;
|
creative = true;
|
||||||
disown = true;
|
disown = true;
|
||||||
gaming = true;
|
gaming = true;
|
||||||
laptop = true;
|
laptop = true;
|
||||||
work = true;
|
work = true;
|
||||||
};
|
};
|
||||||
syncthing = {
|
syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -18,5 +18,13 @@
|
||||||
|
|
||||||
# Root user setup.
|
# Root user setup.
|
||||||
home.nixos.enable = true;
|
home.nixos.enable = true;
|
||||||
user.root = true;
|
user = {
|
||||||
|
root = true;
|
||||||
|
voronind = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
module = {
|
||||||
|
builder.client.enable = true;
|
||||||
|
purpose.live = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,10 +12,10 @@
|
||||||
print.enable = true;
|
print.enable = true;
|
||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
purpose = {
|
purpose = {
|
||||||
creativity = true;
|
creative = true;
|
||||||
gaming = true;
|
gaming = true;
|
||||||
laptop = true;
|
laptop = true;
|
||||||
work = true;
|
work = true;
|
||||||
};
|
};
|
||||||
display = {
|
display = {
|
||||||
primary = "eDP-1";
|
primary = "eDP-1";
|
||||||
|
|
|
@ -10,10 +10,10 @@
|
||||||
package.extra = true;
|
package.extra = true;
|
||||||
print.enable = true;
|
print.enable = true;
|
||||||
purpose = {
|
purpose = {
|
||||||
creativity = true;
|
creative = true;
|
||||||
gaming = true;
|
gaming = true;
|
||||||
laptop = true;
|
laptop = true;
|
||||||
work = true;
|
work = true;
|
||||||
};
|
};
|
||||||
display = {
|
display = {
|
||||||
primary = "DSI-1";
|
primary = "DSI-1";
|
||||||
|
|
|
@ -17,11 +17,11 @@
|
||||||
builder.client.enable = true;
|
builder.client.enable = true;
|
||||||
powerlimit.thinkpad.enable = true;
|
powerlimit.thinkpad.enable = true;
|
||||||
purpose = {
|
purpose = {
|
||||||
creativity = true;
|
creative = true;
|
||||||
disown = true;
|
disown = true;
|
||||||
gaming = true;
|
gaming = true;
|
||||||
laptop = true;
|
laptop = true;
|
||||||
work = true;
|
work = true;
|
||||||
};
|
};
|
||||||
hwmon = {
|
hwmon = {
|
||||||
file = "temp1_input";
|
file = "temp1_input";
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options.module.package = {
|
options.module.package = {
|
||||||
common = lib.mkEnableOption "Common Apps.";
|
common = lib.mkEnableOption "Common Apps.";
|
||||||
core = lib.mkEnableOption "Core apps.";
|
core = lib.mkEnableOption "Core apps.";
|
||||||
creativity = lib.mkEnableOption "Creative Apps.";
|
creative = lib.mkEnableOption "Creative Apps.";
|
||||||
desktop = lib.mkEnableOption "Desktop Apps.";
|
desktop = lib.mkEnableOption "Desktop Apps.";
|
||||||
dev = lib.mkEnableOption "Dev Apps.";
|
dev = lib.mkEnableOption "Dev Apps.";
|
||||||
extra = lib.mkEnableOption "Extra Apps.";
|
extra = lib.mkEnableOption "Extra Apps.";
|
||||||
gaming = lib.mkEnableOption "Gaming Apps.";
|
gaming = lib.mkEnableOption "Gaming Apps.";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,14 +3,15 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options.module.purpose = {
|
options.module.purpose = {
|
||||||
creativity = lib.mkEnableOption "creativity modules";
|
creative = lib.mkEnableOption "creativity modules.";
|
||||||
desktop = lib.mkEnableOption "desktop modules.";
|
desktop = lib.mkEnableOption "desktop modules.";
|
||||||
disown = lib.mkEnableOption "modules for machines not used by me.";
|
disown = lib.mkEnableOption "modules for machines not used by me.";
|
||||||
gaming = lib.mkEnableOption "gaming modules.";
|
gaming = lib.mkEnableOption "gaming modules.";
|
||||||
laptop = lib.mkEnableOption "laptop modules.";
|
laptop = lib.mkEnableOption "laptop modules.";
|
||||||
phone = lib.mkEnableOption "phone modules.";
|
live = lib.mkEnableOption "live modules.";
|
||||||
router = lib.mkEnableOption "router modules.";
|
phone = lib.mkEnableOption "phone modules.";
|
||||||
server = lib.mkEnableOption "server modules.";
|
router = lib.mkEnableOption "router modules.";
|
||||||
work = lib.mkEnableOption "work modules.";
|
server = lib.mkEnableOption "server modules.";
|
||||||
|
work = lib.mkEnableOption "work modules.";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue