1

System/Nixinator: Remove root/boot/swap filesystem config from hardware-configuration (to use disko instead)

This commit is contained in:
2025-07-15 15:03:34 +02:00
parent cae39c8ca8
commit 6e9968b449
2 changed files with 24 additions and 18 deletions

View File

@ -1,4 +1,5 @@
{pkgs, ...}:
# TODO: Use pkgs.mkShell or Navi for this...
pkgs.devshell.mkShell {
name = "NixFlake Shell";
@ -31,8 +32,6 @@ pkgs.devshell.mkShell {
help = "Run NixOS store verification with repair (slow)";
command = "nix-store --verify --check-contents";
}
# TODO: Use navi for this
{
name = "help-store-path";
help = "Display the location of a binary in the nix store";
@ -48,5 +47,10 @@ pkgs.devshell.mkShell {
help = "Display the closure of a package";
command = "echo 'nix path-info --recursive --size --closure-size --human-readable (readlink -f (which <arg>))'";
}
{
name = "help-disko";
help = "Partition disk using disko";
command = ''echo "sudo nix run 'github:nix-community/disko/latest#disko-install' -- --flake .#<target> --disk <disk-name> <disk-device>"'';
}
];
}