machines: use allowDiscards with disko

This commit is contained in:
Felix Buehler 2023-11-04 13:05:05 +01:00
parent 507f53fe3c
commit 4070248fea
4 changed files with 4 additions and 4 deletions

View file

@ -2,12 +2,12 @@
{
imports = [
./boot.nix
./disko-config.nix
./hardware-configuration.nix
./network.nix
./profiles.nix
./services.nix
./system.nix
./disko-config.nix
];
networking.hostName = "thinkman";

View file

@ -28,7 +28,7 @@
content = {
type = "luks";
name = "encrypted";
extraOpenArgs = [ "--allow-discards" ];
settings.allowDiscards = true;
passwordFile = "/tmp/disk.key";
content = {
type = "lvm_pv";