nixos-configs/devices/wim/default.nix

75 lines
1.2 KiB
Nix
Raw Normal View History

{
config,
self,
...
}: let
inherit (config.vars) mainUser hostName;
in {
2023-09-29 23:46:34 -04:00
imports = [
./hardware-configuration.nix
2024-04-14 14:26:59 -04:00
../../modules/android.nix
2023-11-30 17:17:34 -05:00
../../modules/ags
../../modules/audio.nix
../../modules/kmscon.nix
2023-10-15 17:40:57 -04:00
../../modules/plymouth.nix
../../modules/printer.nix
../../modules/tailscale.nix
2023-10-15 22:52:15 -04:00
./modules/security.nix
self.nixosModules.desktop
2023-09-29 23:46:34 -04:00
];
vars = {
mainUser = "matt";
hostName = "wim";
promptMainColor = "purple";
};
roles.desktop = {
user = config.vars.mainUser;
2023-12-17 17:34:56 -05:00
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
];
# No touchy
home.stateVersion = "23.05";
};
networking = {
inherit hostName;
networkmanager = {
enable = true;
wifi.backend = "wpa_supplicant";
};
2023-10-15 22:52:15 -04:00
firewall.enable = false;
};
# Set your time zone.
time.timeZone = "America/Montreal";
# No touchy
system.stateVersion = "23.05";
}