2024-05-07 22:02:59 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
modulesPath,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-02-29 14:53:34 +00:00
|
|
|
let
|
2024-05-07 22:02:59 +00:00
|
|
|
inherit (config.host) role;
|
2024-02-29 14:53:34 +00:00
|
|
|
in
|
2024-05-07 22:02:59 +00:00
|
|
|
with lib;
|
2024-02-29 14:53:34 +00:00
|
|
|
{
|
2024-05-07 22:02:59 +00:00
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
|
|
|
|
|
|
config = mkIf (role == "workstation") {
|
|
|
|
host.ui = {
|
2024-06-03 15:33:25 +00:00
|
|
|
audio.enable = true;
|
2024-05-07 22:02:59 +00:00
|
|
|
bluetooth.enable = true;
|
|
|
|
gnome.enable = true;
|
|
|
|
flatpak.enable = true;
|
|
|
|
};
|
2024-02-29 14:53:34 +00:00
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
boot = {
|
|
|
|
# Enable Plymouth
|
|
|
|
plymouth.enable = true;
|
|
|
|
plymouth.theme = "bgrt";
|
2024-02-29 14:53:34 +00:00
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
# Increase minimum log level. This removes ACPI errors from the boot screen.
|
|
|
|
consoleLogLevel = 1;
|
2024-02-29 14:53:34 +00:00
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
# Add kernel parameters
|
|
|
|
kernelParams = [ "quiet" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|