From 96a043cbe73122f72abbf4763e6560c29d534a95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20Du=C3=9Fin?= Date: Tue, 15 Apr 2025 14:24:12 +0200 Subject: [PATCH 1/2] move block devices from root to blk folder on main machine --- nix/hardware-chell.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/hardware-chell.nix b/nix/hardware-chell.nix index 8cb17dc..bce0428 100644 --- a/nix/hardware-chell.nix +++ b/nix/hardware-chell.nix @@ -23,17 +23,17 @@ fsType = "vfat"; }; - fileSystems."/Helium" = + fileSystems."/blk/He" = { device = "/dev/disk/by-uuid/0cb2606b-8692-4538-a9ad-288e8597b8a4"; fsType = "ext4"; }; - fileSystems."/Barium" = + fileSystems."/blk/Ba" = { device = "/dev/disk/by-uuid/2ce586a1-e8f1-4a0d-bb44-ff3d1f8a79fc"; fsType = "ext4"; }; - fileSystems."/Chlor" = + fileSystems."/blk/Cl" = { device = "/dev/disk/by-uuid/55b5d373-8a07-46af-8f73-17e711c0a8d9"; fsType = "ext4"; }; From c23e97dfe0c2336032ef8a1a0c5c3d6c2da358a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20Du=C3=9Fin?= Date: Tue, 15 Apr 2025 14:24:23 +0200 Subject: [PATCH 2/2] enable kernel rust support in nix config --- nix/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nix/configuration.nix b/nix/configuration.nix index 8294451..15c87a0 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -10,6 +10,14 @@ # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # Enable rust support in the kernel + boot.kernelPatches = [ + { + name = "Rust Support"; + patch = null; + features.rust = true; + } + ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];