From f4854cb9a75e293e5d34fb46ab97cb0e728ec064 Mon Sep 17 00:00:00 2001 From: yukkop Date: Sat, 25 Jan 2025 00:39:39 +0000 Subject: [PATCH] feat: hetzner hardware module --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index 568c6e4..682788c 100644 --- a/flake.nix +++ b/flake.nix @@ -116,6 +116,13 @@ ' ''; }; + + nixosModules.${system} = { + "hetzner.hardware" = { + boot.initrd.kernelModules = [ "nvme" ]; + fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; + }; + }; }) // { lib = { # -- For all systems --