correction code

iso
korenstin 2025-06-14 17:15:16 +02:00
parent e37abd523b
commit f245e86192
1 changed files with 14 additions and 12 deletions

View File

@ -73,8 +73,8 @@
parted /dev/$DISK -- mklabel msdos
parted /dev/$DISK -- mkpart primary 1MB 100%
parted /dev/$DISK -- set 1 boot on
mkfs.ext4 -L nixos /dev/$DISK
mount /dev/$DISK /mnt
mkfs.ext4 -L nixos /dev/$${DISK}1
mount /dev/$${DISK}1 /mnt
nixos-generate-config --root /mnt
cp /mnt/etc/nixos/hardware-configuration.nix /root/
rm -rf /mnt/etc/nixos
@ -86,16 +86,18 @@
''
);
in with pkgs; [
bat
fd
helix
nfs-utils
ripgrep
shelldap
crans-ip-config
crans-disk-config
bat
fd
helix
nfs-utils
ripgrep
shelldap
crans-ip-config
crans-disk-config
];
users.users.root.password = "crans";
users.users.root = {
password = "crans";
initialHashedPassword = lib.mkForce null;
};
}