initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
DEV=/dev/disk/by-uuid/5dfd3b74-2162-4167-825b-21259ca48820
|
||||
EFI=/dev/disk/by-uuid/7155-EF89
|
||||
|
||||
mount -o subvol=@root "$DEV" /mnt
|
||||
mkdir -p /mnt/{nix,persist,var/log,btrfs_root,boot}
|
||||
mount -o subvol=@nix "$DEV" /mnt/nix
|
||||
mount -o subvol=@persist "$DEV" /mnt/persist
|
||||
mount -o subvol=@logs "$DEV" /mnt/var/log
|
||||
mount -o subvolid=5 "$DEV" /mnt/btrfs_root
|
||||
mount "$EFI" /mnt/boot
|
||||
|
||||
btrfs subvolume create /mnt/persist/@secrets
|
||||
Reference in New Issue
Block a user