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