Files
nixos-blueprint/hosts/sarien/configuration.nix
2025-06-17 12:35:52 +03:00

65 lines
1.1 KiB
Nix

{
inputs,
lib,
pkgs,
...
}: {
imports = with inputs; [
self.nixosModules.desktop
self.nixosModules.system
self.nixosModules.shared
./disko
./hardware
./misc
];
networking = {
networkmanager.enable = true;
hostId = "31150fae";
hostName = "sarien";
};
environment.memoryAllocator.provider = "mimalloc";
system.stateVersion = "25.11";
time.timeZone = "Europe/Kyiv";
security.pam.sshAgentAuth.enable = true;
desktop.niri.enable = true;
services.displayManager.autoLogin = {
enable = true;
user = "user";
};
swapDevices = [
{
device = "/swap/swapfile";
size = 4 * 1024;
priority = 100;
}
{
device = "/swap/hibernate";
size = 16 * 1024;
priority = 1;
}
];
module = {
config = {
laptop.homeRowMods = true;
powerSave = true;
useIwd = true;
vaapi = "intel-media-driver";
};
stylix = {
enable = true;
theme = "gruvbox-dark-pale";
};
};
locale.ukrainian.enable = true;
opentabletdriver.enable = false;
qmk-vial.enable = true;
virtual.libvirt.enable = true;
}