Update configuration.nix
This commit is contained in:
@@ -44,6 +44,7 @@
|
|||||||
boot.initrd.luks.devices.root = {
|
boot.initrd.luks.devices.root = {
|
||||||
device = "/dev/disk/by-partlabel/nixos-crypt";
|
device = "/dev/disk/by-partlabel/nixos-crypt";
|
||||||
preLVM = true;
|
preLVM = true;
|
||||||
|
allowDiscards = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.plymouth.enable = true;
|
boot.plymouth.enable = true;
|
||||||
@@ -68,6 +69,7 @@
|
|||||||
options = [
|
options = [
|
||||||
"noatime"
|
"noatime"
|
||||||
"nodiratime"
|
"nodiratime"
|
||||||
|
"discard"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -82,7 +84,6 @@
|
|||||||
|
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# Wayland and Console
|
|
||||||
services.xserver.xkb.layout = "de";
|
services.xserver.xkb.layout = "de";
|
||||||
console.keyMap = "de";
|
console.keyMap = "de";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user