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

View File

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