mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
machines: use allowDiscards with disko
This commit is contained in:
parent
507f53fe3c
commit
4070248fea
4 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
|||
content = {
|
||||
type = "luks";
|
||||
name = "encrypted";
|
||||
extraOpenArgs = [ "--allow-discards" ];
|
||||
settings.allowDiscards = true;
|
||||
passwordFile = "/tmp/disk.key";
|
||||
content = {
|
||||
type = "lvm_pv";
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
content = {
|
||||
type = "luks";
|
||||
name = "encrypted";
|
||||
extraOpenArgs = [ "--allow-discards" ];
|
||||
settings.allowDiscards = true;
|
||||
passwordFile = "/tmp/disk.key";
|
||||
content = {
|
||||
type = "lvm_pv";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
content = {
|
||||
type = "luks";
|
||||
name = "encrypted";
|
||||
extraOpenArgs = [ "--allow-discards" ];
|
||||
settings.allowDiscards = true;
|
||||
passwordFile = "/tmp/disk.key";
|
||||
content = {
|
||||
type = "lvm_pv";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue