nixos-configs/devices/wim/default.nix
matt1432 85a3c28438
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: start making flake exposed modules with desktop
2024-06-27 00:56:27 -04:00

77 lines
1.2 KiB
Nix

{
config,
self,
...
}: let
inherit (config.vars) mainUser hostName;
in {
imports = [
./hardware-configuration.nix
../../modules/android.nix
../../modules/ags
../../modules/audio.nix
../../modules/kmscon.nix
../../modules/plymouth.nix
../../modules/printer.nix
../../modules/tailscale.nix
./modules/security.nix
self.nixosModules.desktop
];
vars = {
mainUser = "matt";
hostName = "wim";
promptMainColor = "purple";
};
roles.desktop = {
user = config.vars.mainUser;
mainMonitor = "eDP-1";
isLaptop = true;
isTouchscreen = true;
fontSize = 12.5;
};
users.users.${mainUser} = {
isNormalUser = true;
extraGroups = [
"wheel"
"input"
"uinput"
"adm"
"video"
"libvirtd"
];
};
home-manager.users.${mainUser} = {
imports = [
../../home/firefox
./home/packages.nix
];
# 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";
}