updated
This commit is contained in:
parent
23141dddec
commit
a78d52be94
@ -12,20 +12,3 @@ cd ..
|
||||
mv nixos /persist
|
||||
cd /persist/nixos
|
||||
```
|
||||
|
||||
<!-- While formatting you will be asked for a password which is used for disk encryption with LUKS.
|
||||
Make sure you have the correct keyboard layout set.
|
||||
|
||||
## [Optional] Generate Hardware Configuration (for new Systems)
|
||||
|
||||
```txt
|
||||
sudo nixos-generate-config --no-filesystems --force --root /mnt ./system
|
||||
```
|
||||
|
||||
## Install from Flake
|
||||
|
||||
```txt
|
||||
nix-shell -p git
|
||||
|
||||
sudo nixos-install --no-root-password --root /mnt --flake .#
|
||||
``` -->
|
||||
|
24
template/flake.lock
generated
24
template/flake.lock
generated
@ -7,11 +7,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1712356478,
|
||||
"narHash": "sha256-kTcEtrQIRnexu5lAbLsmUcfR2CrmsACF1s3ZFw1NEVA=",
|
||||
"lastModified": 1713152224,
|
||||
"narHash": "sha256-k1aV06cotPwWO3FW+ho+dEoGjxNM303+UmhiG2o6XPs=",
|
||||
"owner": "nix-community",
|
||||
"repo": "disko",
|
||||
"rev": "0a17298c0d96190ef3be729d594ba202b9c53beb",
|
||||
"rev": "bb5ba68ebb73b5ca7996b64e1457fe885891e78e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -37,11 +37,11 @@
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1712324865,
|
||||
"narHash": "sha256-+BatEWd4HlMeK7Ora+gYIkarjxFVCg9oKrIeybHIIX4=",
|
||||
"lastModified": 1712909959,
|
||||
"narHash": "sha256-7/5ubuwdEbQ7Z+Vqd4u0mM5L2VMNDsBh54visp27CtQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "f3b959627bca46a9f7052b8fbc464b8323e68c2c",
|
||||
"rev": "f58b25254be441cd2a9b4b444ed83f1e51244f1f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -53,11 +53,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1712437997,
|
||||
"narHash": "sha256-g0whLLwRvgO2FsyhY8fNk+TWenS3jg5UdlWL4uqgFeo=",
|
||||
"lastModified": 1713013257,
|
||||
"narHash": "sha256-ZEfGB3YCBVggvk0BQIqVY7J8XF/9jxQ68fCca6nib+8=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e38d7cb66ea4f7a0eb6681920615dfcc30fc2920",
|
||||
"rev": "90055d5e616bd943795d38808c94dbf0dd35abe8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -69,11 +69,11 @@
|
||||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1712439257,
|
||||
"narHash": "sha256-aSpiNepFOMk9932HOax0XwNxbA38GOUVOiXfUVPOrck=",
|
||||
"lastModified": 1712963716,
|
||||
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ff0dbd94265ac470dda06a657d5fe49de93b4599",
|
||||
"rev": "cfd6b5fc90b15709b780a5a1619695a88505a176",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -40,8 +40,7 @@
|
||||
install = {
|
||||
program = "${pkgs.writeShellScript "install" ''
|
||||
sudo nixos-generate-config --no-filesystems --force --root /mnt --dir ./system
|
||||
nix develop .# --extra-experimental-features "nix-command flakes
|
||||
sudo disko-install --flake .#nixos --disk main /dev/sda --write-efi-entries
|
||||
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/${inputs.disko.rev}#disko-install -- --flake .#nixos --disk main /dev/sda --write-efi-entries
|
||||
''}";
|
||||
type = "app";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user