nixos-configs/devices/bbsteamie/default.nix

63 lines
1.2 KiB
Nix
Raw Normal View History

{
config,
2024-07-10 20:38:03 -04:00
self,
...
}: let
inherit (config.vars) mainUser hostName;
in {
# ------------------------------------------------
# Imports
# ------------------------------------------------
imports = [
./hardware-configuration.nix
./modules
2024-07-10 20:38:03 -04:00
self.nixosModules.kmscon
2024-07-10 20:38:03 -04:00
self.nixosModules.plymouth
self.nixosModules.server
];
# State Version: DO NOT CHANGE
system.stateVersion = "24.11";
# ------------------------------------------------
# User Settings
# ------------------------------------------------
vars = {
mainUser = "mariah";
hostName = "bbsteamie";
promptMainColor = "pink";
};
users.users.${mainUser} = {
isNormalUser = true;
extraGroups = [
"wheel"
"adm"
];
};
networking = {
inherit hostName;
networkmanager.enable = true;
};
time.timeZone = "America/Montreal";
# ------------------------------------------------
# `Self` Modules configuration
# ------------------------------------------------
roles.server = {
user = mainUser;
sshd.enable = true;
};
boot.plymouth = {
enable = true;
2024-08-04 20:36:20 -04:00
theme = "bgrt";
};
services.kmscon.enable = true;
}