From cd89855ce2a9ec7ffcacb3c6b5930b27c309cbe4 Mon Sep 17 00:00:00 2001 From: _cry64 Date: Sun, 22 Feb 2026 18:05:26 +1000 Subject: [PATCH] move myputer to new host --- flake.lock | 4 ++-- hosts/myputer/hardware.nix | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) mode change 100755 => 100644 hosts/myputer/hardware.nix diff --git a/flake.lock b/flake.lock index f650af9..f8e1771 100644 --- a/flake.lock +++ b/flake.lock @@ -37,8 +37,8 @@ ] }, "locked": { - "lastModified": 1771726756, - "narHash": "sha256-IoIB96vTFWEWovjKIuahnSvdj4f/CtmZUH1ItikpkeY=", + "lastModified": 1771735274, + "narHash": "sha256-hOUyqyL+VdVwN9mzFD0FLOS0FcMIwWiUbYEP3ovy1w0=", "path": "/home/me/cry/mk/cerulean", "type": "path" }, diff --git a/hosts/myputer/hardware.nix b/hosts/myputer/hardware.nix old mode 100755 new mode 100644 index 904a0c2..f8c72c3 --- a/hosts/myputer/hardware.nix +++ b/hosts/myputer/hardware.nix @@ -12,24 +12,25 @@ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"]; + boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"]; boot.initrd.kernelModules = []; boot.kernelModules = ["kvm-amd"]; boot.extraModulePackages = []; fileSystems."/" = { - device = "/dev/disk/by-uuid/ff19e1b0-cacc-4270-a94b-7922f7224ae2"; + device = "/dev/disk/by-uuid/b5eb6fbc-b9c7-453b-955f-e77011bce094"; fsType = "ext4"; }; - fileSystems."/boot/efi" = { - device = "/dev/disk/by-uuid/7046-177A"; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/1554-FFF9"; fsType = "vfat"; options = ["fmask=0077" "dmask=0077"]; }; swapDevices = [ {device = "/dev/disk/by-uuid/7f7e9d69-78e0-49f1-b792-6be26ed8e040";} + {device = "/dev/disk/by-uuid/32ecabb6-7bb9-4861-8a2a-13a99f1338d2";} ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking @@ -37,7 +38,9 @@ # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; + # networking.interfaces.docker0.useDHCP = lib.mkDefault true; # networking.interfaces.enp34s0.useDHCP = lib.mkDefault true; + # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; # networking.interfaces.wlp38s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";