nixos-configs/hosts/binto/configuration.nix

75 lines
1.2 KiB
Nix
Raw Normal View History

{ ... }: {
2023-10-15 23:12:19 -04:00
imports = [
./hardware-configuration.nix
../../modules/audio.nix
../../modules/kmscon.nix
../../modules/printer.nix
./modules/desktop.nix
./modules/nix-gaming.nix
./modules/nvidia.nix
2023-10-15 23:12:19 -04:00
];
services.hostvars = {
username = "matt";
2023-10-18 18:37:50 -04:00
fontSize = 10.0;
};
users.users.matt = {
isNormalUser = true;
extraGroups = [
"wheel"
"input"
"uinput"
"adm"
"mlocate"
"video"
"libvirtd"
];
};
home-manager.users = {
matt = {
imports = [
../../modules/alacritty.nix
../../modules/dconf.nix
../../modules/firefox
];
# No touchy
home.stateVersion = "23.11";
};
};
2023-10-15 23:12:19 -04:00
networking = {
hostName = "binto";
networkmanager.enable = true;
firewall.enable = false;
};
services = {
tailscale = {
enable = true;
extraUpFlags = [
"--login-server https://headscale.nelim.org"
"--operator=matt"
];
};
openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
2023-10-15 23:12:19 -04:00
};
2023-10-17 18:45:08 -04:00
# Set your time zone.
time.timeZone = "America/Toronto";
# No touchy
system.stateVersion = "23.11";
2023-10-15 23:12:19 -04:00
}