1
Fork 0

most descript nixos error

This commit is contained in:
caem 2025-01-16 19:48:19 +01:00
parent 9c73f49fac
commit 5f6fd55ada
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 1 additions and 3 deletions

View file

@ -25,7 +25,6 @@
size = "100%"; size = "100%";
content = { content = {
type = "btrfs"; type = "btrfs";
mountpoint = "/partition-root";
extraArgs = [ "-f" "-L nixos" ]; extraArgs = [ "-f" "-L nixos" ];
subvolumes = { subvolumes = {
"/rootfs" = { "/rootfs" = {

View file

@ -127,7 +127,6 @@ partition_disk() {
if [ "$DOTNIX_CONFIRM_DISK_NUKE" = "yes" ]; then if [ "$DOTNIX_CONFIRM_DISK_NUKE" = "yes" ]; then
sudo nix --experimental-features 'flakes nix-command' run github:nix-community/disko/latest -- \ sudo nix --experimental-features 'flakes nix-command' run github:nix-community/disko/latest -- \
--mode destroy,format,mount --yes-wipe-all-disks "./hosts/$DOTNIX_HOSTNAME/disko.nix" --mode destroy,format,mount --yes-wipe-all-disks "./hosts/$DOTNIX_HOSTNAME/disko.nix"
echo "disko done"
else else
>&2 echo "Aborted installation due to invalid state in the partitioning step." >&2 echo "Aborted installation due to invalid state in the partitioning step."
exit 1 exit 1
@ -135,7 +134,7 @@ partition_disk() {
} }
generate_config() { generate_config() {
nixos-generate-config --no-filesystems --root /mnt sudo nixos-generate-config --no-filesystems --root /mnt
} }
main () { main () {