summaryrefslogtreecommitdiff
path: root/hosts/kaworu
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-05-27 14:29:32 -0400
committerFreya Murphy <freya@freyacat.org>2026-05-27 14:30:36 -0400
commitd21891bbb26ec99b2d555964a2bf91126f1b1724 (patch)
tree03d43038c72148468ae1860d4af7456d3e3358e0 /hosts/kaworu
parentfix mkHome in flake (diff)
downloaddotfiles-nix-d21891bbb26ec99b2d555964a2bf91126f1b1724.tar.gz
dotfiles-nix-d21891bbb26ec99b2d555964a2bf91126f1b1724.tar.bz2
dotfiles-nix-d21891bbb26ec99b2d555964a2bf91126f1b1724.zip
finish new kaworu config
Diffstat (limited to 'hosts/kaworu')
-rw-r--r--hosts/kaworu/default.nix1
-rw-r--r--hosts/kaworu/hardware.nix23
2 files changed, 17 insertions, 7 deletions
diff --git a/hosts/kaworu/default.nix b/hosts/kaworu/default.nix
index 25c16c7..c608607 100644
--- a/hosts/kaworu/default.nix
+++ b/hosts/kaworu/default.nix
@@ -36,6 +36,7 @@
};
bootloader = {
limine.enable = true;
+ plymouth.enable = true;
};
# modules
diff --git a/hosts/kaworu/hardware.nix b/hosts/kaworu/hardware.nix
index 0f2d277..740baae 100644
--- a/hosts/kaworu/hardware.nix
+++ b/hosts/kaworu/hardware.nix
@@ -1,36 +1,45 @@
-_: {
+{
+ lib,
+ pkgs,
+ ...
+}: {
# kernel modules
boot.initrd.availableKernelModules = [
+ "nvme"
"xhci_pci"
"ahci"
- "usb_storage"
"usbhid"
+ "usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
+ boot.kernelPackages = lib.mkForce pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-zen4;
# firmware
hardware.enableRedistributableFirmware = true;
hardware.cpu.amd.updateMicrocode = true;
# luks device
- boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/89257280-202b-4565-b832-89f160d5e4e2";
+ boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/694c8086-d64a-466a-a687-378412964867";
+ boot.initrd.luks.devices."swap".device = "/dev/disk/by-uuid/1d90327c-fe57-4f02-97b7-14062b37429f";
# root
fileSystems."/" = {
- device = "/dev/disk/by-uuid/4906f0dd-b036-40fc-9a3f-0d031dbc2513";
+ device = "/dev/disk/by-uuid/dee54096-49a6-45d9-a347-cbe13374f3b4";
fsType = "btrfs";
};
# boot
- fileSystems."/boot/efi" = {
- device = "/dev/disk/by-uuid/099A-D668";
+ fileSystems."/boot" = {
+ device = "/dev/disk/by-uuid/CCD8-FD63";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};
# swap
- swapDevices = [];
+ swapDevices = [
+ {device = "/dev/disk/by-uuid/24871700-814f-40d0-a3e2-8624f2e99f44";}
+ ];
}