mirror of https://gitlab.crans.org/nounous/nixos
correction code
parent
e37abd523b
commit
f245e86192
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue