nixos-configs/devices/bbsteamie/default.nix

62 lines
1.1 KiB
Nix
Raw Normal View History

{
config,
2024-07-10 20:38:03 -04:00
self,
...
}: let
inherit (config.vars) mainUser;
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";
promptMainColor = "pink";
};
users.users.${mainUser} = {
isNormalUser = true;
extraGroups = [
"wheel"
"adm"
];
};
networking = {
hostName = "bbsteamie";
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;
}