1
0
Fork 0
nix-configuration/modules/roles/workstation.nix

36 lines
637 B
Nix
Raw Normal View History

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