move myputer to new host

This commit is contained in:
do butterflies cry? 2026-02-22 18:05:26 +10:00
parent ee26541872
commit cd89855ce2
2 changed files with 9 additions and 6 deletions

4
flake.lock generated
View file

@ -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"
},

11
hosts/myputer/hardware.nix Executable file → Normal file
View file

@ -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.<interface>.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";