package disk
This commit is contained in:
parent
3f046a41c4
commit
6ad1a9a145
3 changed files with 13 additions and 13 deletions
|
@ -1,11 +1,3 @@
|
|||
# ❄️ puter
|
||||
|
||||
This is my NixOS configuration. There are many like it, but this one is mine. Copy at your own risk.
|
||||
|
||||
## Partitioning
|
||||
|
||||
```bash
|
||||
curl -O https://raw.githubusercontent.com/lukaswrz/puter/main/part
|
||||
chmod +x part
|
||||
./part /path/to/device
|
||||
```
|
||||
|
|
5
part → disk
Executable file → Normal file
5
part → disk
Executable file → Normal file
|
@ -1,8 +1,3 @@
|
|||
#!/usr/bin/env nix
|
||||
#! nix shell nixpkgs#bash nixpkgs#coreutils nixpkgs#findutils nixpkgs#util-linux nixpkgs#jq nixpkgs#btrfs-progs nixpkgs#dosfstools --command bash
|
||||
|
||||
# shellcheck shell=bash
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
13
flake.nix
13
flake.nix
|
@ -55,6 +55,19 @@
|
|||
};
|
||||
|
||||
formatter = pkgs.alejandra;
|
||||
|
||||
packages.disk = pkgs.writeShellApplication {
|
||||
name = "disk";
|
||||
|
||||
runtimeInputs = with pkgs; [
|
||||
util-linux
|
||||
jq
|
||||
btrfs-progs
|
||||
dosfstools
|
||||
];
|
||||
|
||||
text = builtins.readFile ./disk;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue