nixos-configs/devices/wim/default.nix
matt1432 89ebaa520f
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: move adb to flake module
2024-07-14 19:30:28 -04:00

84 lines
1.3 KiB
Nix

{
config,
self,
...
}: let
inherit (config.vars) mainUser hostName;
in {
imports = [
./hardware-configuration.nix
../../modules/ags
../../modules/audio.nix
../../modules/kmscon.nix
../../modules/printer.nix
../../modules/tailscale.nix
./modules/security.nix
self.nixosModules.adb
self.nixosModules.desktop
self.nixosModules.plymouth
];
vars = {
mainUser = "matt";
hostName = "wim";
promptMainColor = "purple";
};
roles.desktop = {
user = config.vars.mainUser;
mainMonitor = "eDP-1";
isLaptop = true;
isTouchscreen = true;
fontSize = 12.5;
};
programs.adb = {
enable = true;
user = mainUser;
};
boot.plymouth = {
enable = true;
theme = "dracula";
};
users.users.${mainUser} = {
isNormalUser = true;
extraGroups = [
"wheel"
"input"
"uinput"
"adm"
"video"
"libvirtd"
];
};
home-manager.users.${mainUser} = {
imports = [
../../home/firefox
];
# No touchy
home.stateVersion = "23.05";
};
networking = {
inherit hostName;
networkmanager = {
enable = true;
wifi.backend = "wpa_supplicant";
};
firewall.enable = false;
};
# Set your time zone.
time.timeZone = "America/Montreal";
# No touchy
system.stateVersion = "23.05";
}