specializations for workstation

This commit is contained in:
Danilo Reyes 2025-09-29 22:11:35 -06:00
parent 0beab15f24
commit d449570a0c

View File

@ -1,4 +1,5 @@
{ {
lib,
pkgs, pkgs,
config, config,
... ...
@ -20,7 +21,6 @@ in
./hardware-configuration.nix ./hardware-configuration.nix
../../config/base.nix ../../config/base.nix
../../config/stylix.nix ../../config/stylix.nix
../../environments/gnome.nix
]; ];
my = import ./toggles.nix // { my = import ./toggles.nix // {
nix.cores = 8; nix.cores = 8;
@ -47,6 +47,18 @@ in
}; };
}; };
}; };
specialisation = {
shell-only.configuration = {
};
gnome.configuration = {
imports = [ ../../environments/gnome.nix ];
services.flatpak.enable = true;
};
hyprland.configuration = {
imports = [ ../../environments/hyprland.nix ];
services.flatpak.enable = true;
};
};
networking = { networking = {
hostName = "workstation"; hostName = "workstation";
firewall = firewall =
@ -133,7 +145,7 @@ in
../../secrets/ssh/root-private-ca.pem ../../secrets/ssh/root-private-ca.pem
]; ];
services = { services = {
flatpak.enable = true; flatpak.enable = lib.mkDefault false;
open-webui.enable = true; open-webui.enable = true;
scx = { scx = {
enable = true; enable = true;