various things while resetting lab

This commit is contained in:
2025-09-07 06:28:38 +05:00
parent 2d6c9988e0
commit a54f6df462
5 changed files with 110 additions and 10 deletions

View File

@@ -24,7 +24,12 @@
content = {
name = "crypted";
type = "luks";
askPassword = true;
passwordFile = "/tmp/secret.key";
settings = {
allowDiscards = true;
crypttabExtraOpts =
[ "fido2-device=auto" "token-timeout=10" ];
};
content = {
type = "filesystem";
format = "ext4";

View File

@@ -4,8 +4,10 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
# Disko
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, disko, ... }: let