nixos-configs/configurations/wim/default.nix

114 lines
2 KiB
Nix
Raw Normal View History

{
mainUser,
self,
pkgs,
...
}: {
# ------------------------------------------------
# Imports
# ------------------------------------------------
2023-09-29 23:46:34 -04:00
imports = [
./hardware-configuration.nix
./modules
self.nixosModules.base
self.nixosModules.desktop
2024-09-30 13:50:51 -04:00
self.nixosModules.docker
self.nixosModules.kmscon
2024-07-10 20:38:03 -04:00
self.nixosModules.plymouth
self.nixosModules.server
2023-09-29 23:46:34 -04:00
];
# State Version: DO NOT CHANGE
system.stateVersion = "23.05";
# ------------------------------------------------
# User Settings
# ------------------------------------------------
users.users.${mainUser} = {
isNormalUser = true;
extraGroups = [
"wheel"
"input"
"uinput"
"adm"
"video"
"libvirtd"
2024-11-22 18:51:49 -05:00
"adbusers"
];
};
2024-11-22 18:51:49 -05:00
programs.adb.enable = true;
networking = {
hostName = "wim";
networkmanager = {
enable = true;
2024-09-25 15:07:54 -04:00
wifi = {
backend = "wpa_supplicant";
scanRandMacAddress = false;
};
};
2023-10-15 22:52:15 -04:00
firewall.enable = false;
};
time.timeZone = "America/Montreal";
# ------------------------------------------------
# `Self` Modules configuration
# ------------------------------------------------
roles.base = {
enable = true;
user = mainUser;
};
roles.desktop = {
user = mainUser;
2024-11-13 19:39:01 -05:00
ags.enable = true;
mainMonitor = "eDP-1";
isLaptop = true;
isTouchscreen = true;
fontSize = 12.5;
};
roles.server = {
user = mainUser;
tailscale.enable = true;
};
boot.plymouth = {
enable = true;
theme = "dracula";
themePackages = [
self.scopedPackages.${pkgs.system}.dracula.plymouth
];
};
2024-09-30 13:50:51 -04:00
khepri.enable = true;
services.kmscon.enable = true;
home-manager.users.${mainUser} = {
imports = [
self.homeManagerModules.firefox
self.homeManagerModules.neovim
self.homeManagerModules.shell
];
programs = {
bash = {
enable = true;
promptMainColor = "purple";
};
neovim = {
enable = true;
user = mainUser;
};
};
};
}