Files
nixos-blueprint/hosts/kled/configuration.nix
T
unexplrd 14b4bdb585 Split shared host config into dedicated modules
- Add shared modules for boot, hardware, networking, input, and host defaults
- Move host-specific TOML flags to new option namespaces
- Update SSH and service defaults for the new layout
2026-05-11 15:01:36 +03:00

63 lines
1.0 KiB
Nix

{
pkgs,
lib,
inputs,
perSystem,
...
}: {
imports = with inputs; [
self.nixosModules.desktop
self.nixosModules.shared
./disk.nix
./hardware
./misc
];
desktop.dms.enable = true;
services.displayManager.autoLogin = {
enable = true;
user = "user";
};
# boot.kernelPackages = lib.mkForce pkgs.linuxPackages_6_12;
swapDevices = [
{
device = "/swap/swapfile";
size = 4 * 1024;
priority = 100;
}
{
device = "/swap/hibernate";
size = 16 * 1024;
priority = 1;
}
];
unexplrd = {
host = {
id = "31150fae";
name = "kled";
stateVersion = "25.11";
};
boot.secureBoot.enable = true;
hardware = {
graphics.vaapi = "intel-media-driver";
powerSave.enable = true;
};
input.homeRowMods.enable = true;
networking.iwd.enable = true;
config = {
locale = "uk_UA.UTF-8";
timeZone = "Europe/Kyiv";
};
stylix = {
enable = true;
theme = "ashes";
};
};
}