mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
test: impermanence
This commit is contained in:
parent
96c02ac2cb
commit
5336cb8ebb
1 changed files with 39 additions and 35 deletions
|
|
@ -8,9 +8,13 @@ let
|
||||||
inherit (flake.config.people) user0;
|
inherit (flake.config.people) user0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
fileSystems = {
|
fileSystems =
|
||||||
|
let
|
||||||
|
rootDevice = "/dev/disk/by-uuid/8596aaba-338f-4f9d-ba9d-a63bcbc38523";
|
||||||
|
in
|
||||||
|
{
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/disk/by-uuid/8596aaba-338f-1f9d-ba9d-a63bcbc38523";
|
device = rootDevice;
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [
|
options = [
|
||||||
"subvol=root"
|
"subvol=root"
|
||||||
|
|
@ -18,7 +22,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
"/nix" = {
|
"/nix" = {
|
||||||
device = "/dev/disk/by-uuid/8596aaba-338f-1f9d-ba9d-a63bcbc38523";
|
device = rootDevice;
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [
|
options = [
|
||||||
"subvol=nix"
|
"subvol=nix"
|
||||||
|
|
@ -26,7 +30,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
"/persistent" = {
|
"/persistent" = {
|
||||||
device = "/dev/disk/by-uuid/8596aaba-338f-1f9d-ba9d-a63bcbc38523";
|
device = rootDevice;
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
options = [
|
options = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue