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 = {
|
content = {
|
||||||
type = "luks";
|
type = "luks";
|
||||||
name = "encrypted";
|
name = "encrypted";
|
||||||
extraOpenArgs = [ "--allow-discards" ];
|
settings.allowDiscards = true;
|
||||||
passwordFile = "/tmp/disk.key";
|
passwordFile = "/tmp/disk.key";
|
||||||
content = {
|
content = {
|
||||||
type = "lvm_pv";
|
type = "lvm_pv";
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
content = {
|
content = {
|
||||||
type = "luks";
|
type = "luks";
|
||||||
name = "encrypted";
|
name = "encrypted";
|
||||||
extraOpenArgs = [ "--allow-discards" ];
|
settings.allowDiscards = true;
|
||||||
passwordFile = "/tmp/disk.key";
|
passwordFile = "/tmp/disk.key";
|
||||||
content = {
|
content = {
|
||||||
type = "lvm_pv";
|
type = "lvm_pv";
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./boot.nix
|
./boot.nix
|
||||||
|
./disko-config.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./network.nix
|
./network.nix
|
||||||
./profiles.nix
|
./profiles.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
./system.nix
|
./system.nix
|
||||||
./disko-config.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "thinkman";
|
networking.hostName = "thinkman";
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
content = {
|
content = {
|
||||||
type = "luks";
|
type = "luks";
|
||||||
name = "encrypted";
|
name = "encrypted";
|
||||||
extraOpenArgs = [ "--allow-discards" ];
|
settings.allowDiscards = true;
|
||||||
passwordFile = "/tmp/disk.key";
|
passwordFile = "/tmp/disk.key";
|
||||||
content = {
|
content = {
|
||||||
type = "lvm_pv";
|
type = "lvm_pv";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue