hosts/legion: autologin, secure boot, tpm Signed-off-by: unexplrd <unexplrd@linerds.us>
48 lines
832 B
Nix
48 lines
832 B
Nix
{
|
|
config,
|
|
inputs,
|
|
...
|
|
}: {
|
|
imports = with inputs; [
|
|
self.modules.shared.nixos
|
|
self.nixosModules.desktop
|
|
self.nixosModules.system
|
|
./disko
|
|
./hardware
|
|
./misc
|
|
];
|
|
|
|
networking = {
|
|
networkmanager.enable = true;
|
|
hostName = "legion";
|
|
};
|
|
|
|
environment.memoryAllocator.provider = "mimalloc";
|
|
system.stateVersion = "25.11";
|
|
time.timeZone = "Europe/Kyiv";
|
|
|
|
desktop.niri.enable = true;
|
|
|
|
services.displayManager.autoLogin = {
|
|
enable = true;
|
|
user = "user";
|
|
};
|
|
|
|
module = {
|
|
config = {
|
|
laptop.homeRowMods = true;
|
|
powerSave = true;
|
|
secureBoot = true;
|
|
tpmDiskUnlock = true;
|
|
vaapi = "nvidia";
|
|
};
|
|
stylix = {
|
|
enable = true;
|
|
theme = "gruvbox-dark-pale";
|
|
};
|
|
};
|
|
|
|
locale.ukrainian.enable = true;
|
|
virtual.libvirt.enable = true;
|
|
}
|