auto: bootstrapping sparky

This commit is contained in:
Sam 2024-05-27 16:03:39 +01:00
parent 967d09c24a
commit 34cf736bea
2 changed files with 6 additions and 6 deletions

View File

@ -255,11 +255,11 @@
"nix-secrets": {
"flake": false,
"locked": {
"lastModified": 1716820965,
"narHash": "sha256-QqtWvCBWcgHw9gqqOsVqf1GvRtaQ5Mu5ctEiSOi16F0=",
"lastModified": 1716822214,
"narHash": "sha256-nzzfVOIWi/BM0n/1iEcEejvnaH5XeSxKavWjUG+jzrU=",
"ref": "refs/heads/master",
"rev": "440f1b55a39b38c763eb1e2609943334d9b6736e",
"revCount": 62,
"rev": "4667b20b9504b01c3c6de4f32a89b78bf88416a9",
"revCount": 63,
"type": "git",
"url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git"
},

View File

@ -7,8 +7,8 @@ let
# Disko setup
fsType = "btrfs";
dev = "/dev/vda";
encrypted = false;
btrfsMountDevice = "/dev/mapper/crypted";
encrypted = true;
btrfsMountDevice = if encrypted then "/dev/mapper/crypted" else "/dev/root_vg/root";
in
{
imports =