hosts: add kled

This commit is contained in:
2026-04-24 15:17:40 +03:00
parent 71004a5e79
commit 004117ff63
8 changed files with 320 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
{
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;
environment.systemPackages = [perSystem.cros.cros-ectool];
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";
};
config = {
laptop.homeRowMods = true;
powerSave = true;
useIwd = true;
vaapi = "intel-media-driver";
locale = "uk_UA.UTF-8";
timeZone = "Europe/Kyiv";
};
stylix = {
enable = true;
theme = "ashes";
};
};
}