From f48acdfe2c38255dbc0c21b92b458e445c902579 Mon Sep 17 00:00:00 2001 From: moons-14 Date: Sat, 21 Feb 2026 14:23:49 +0900 Subject: [PATCH] openclaw --- hosts/openclaw/hardware-configuration.nix | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 hosts/openclaw/hardware-configuration.nix diff --git a/hosts/openclaw/hardware-configuration.nix b/hosts/openclaw/hardware-configuration.nix new file mode 100644 index 0000000..6c1f041 --- /dev/null +++ b/hosts/openclaw/hardware-configuration.nix @@ -0,0 +1,30 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/profiles/qemu-guest.nix") + ]; + + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/9c229b87-1d13-492c-9073-012e2705ab8d"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/BE24-80C4"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; +}