recreate hardware config without filesystems

This commit is contained in:
2024-10-18 20:28:28 -05:00
parent 854fd1641f
commit 7d943a24b9
2 changed files with 12 additions and 25 deletions

22
flake.lock generated
View File

@@ -1027,11 +1027,11 @@
"locked": {
"lastModified": 0,
"narHash": "sha256-Hz1a2OgtlwgdQhI6hiUvityjVURsoY6oXkXq25RyiBM=",
"path": "/mnt/nix/store/fd7h31g5h6jvpd4hw51q3qa47maycj3b-source/home",
"path": "/mnt/nix/store/b4df01x0zifkn8ybj4fxpir5y0k5482g-source/home",
"type": "path"
},
"original": {
"path": "/mnt/nix/store/fd7h31g5h6jvpd4hw51q3qa47maycj3b-source/home",
"path": "/mnt/nix/store/b4df01x0zifkn8ybj4fxpir5y0k5482g-source/home",
"type": "path"
}
},
@@ -1417,11 +1417,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-6oCDKhDSqJMWeODXDHD5XorN7/+KXBBIPZ2z+obwUNY=",
"path": "/mnt/nix/store/2r9s3wx2jba75hvnflgiqnpmxfw3hsy5-source/packages",
"path": "/mnt/nix/store/gyfykpz3ank6fmv2kaka36r3vzb3nh0s-source/packages",
"type": "path"
},
"original": {
"path": "/mnt/nix/store/2r9s3wx2jba75hvnflgiqnpmxfw3hsy5-source/packages",
"path": "/mnt/nix/store/gyfykpz3ank6fmv2kaka36r3vzb3nh0s-source/packages",
"type": "path"
}
},
@@ -1507,11 +1507,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-hg0wqQn6BxQXLmfBINzZoaWpdSIlwwZxKbYz+4df83o=",
"path": "/mnt/nix/store/2r9s3wx2jba75hvnflgiqnpmxfw3hsy5-source/programs",
"path": "/mnt/nix/store/gyfykpz3ank6fmv2kaka36r3vzb3nh0s-source/programs",
"type": "path"
},
"original": {
"path": "/mnt/nix/store/2r9s3wx2jba75hvnflgiqnpmxfw3hsy5-source/programs",
"path": "/mnt/nix/store/gyfykpz3ank6fmv2kaka36r3vzb3nh0s-source/programs",
"type": "path"
}
},
@@ -1638,11 +1638,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-VZKans7CW3BgyWaVgi9mGKvJsCvyse2zLPRB5fJnlfA=",
"path": "/mnt/nix/store/2r9s3wx2jba75hvnflgiqnpmxfw3hsy5-source/services",
"path": "/mnt/nix/store/gyfykpz3ank6fmv2kaka36r3vzb3nh0s-source/services",
"type": "path"
},
"original": {
"path": "/mnt/nix/store/2r9s3wx2jba75hvnflgiqnpmxfw3hsy5-source/services",
"path": "/mnt/nix/store/gyfykpz3ank6fmv2kaka36r3vzb3nh0s-source/services",
"type": "path"
}
},
@@ -1657,12 +1657,12 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-Pk5COJNed5x87n/zc1ljP6CL8YvSOrKFPKcveKtjD/c=",
"path": "/mnt/nix/store/fd7h31g5h6jvpd4hw51q3qa47maycj3b-source/system",
"narHash": "sha256-duytay94SXX+tnyZeNiG0BtK3GtIovCleJTw/JEEGyg=",
"path": "/mnt/nix/store/b4df01x0zifkn8ybj4fxpir5y0k5482g-source/system",
"type": "path"
},
"original": {
"path": "/mnt/nix/store/fd7h31g5h6jvpd4hw51q3qa47maycj3b-source/system",
"path": "/mnt/nix/store/b4df01x0zifkn8ybj4fxpir5y0k5482g-source/system",
"type": "path"
}
},

View File

@@ -8,24 +8,11 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/efe05fe7-563d-411a-954b-317a2e7316f3";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/78F7-FFB8";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction