From 34cf736bea241e90008434a25bdc560f1d8b9767 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 27 May 2024 16:03:39 +0100 Subject: [PATCH] auto: bootstrapping sparky --- flake.lock | 8 ++++---- hosts/bootstrap/default.nix | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 80f951c..a1d735f 100644 --- a/flake.lock +++ b/flake.lock @@ -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" }, diff --git a/hosts/bootstrap/default.nix b/hosts/bootstrap/default.nix index b8b8351..b148db8 100644 --- a/hosts/bootstrap/default.nix +++ b/hosts/bootstrap/default.nix @@ -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 =