complete rework v3

This commit is contained in:
Nickolaj Jepsen 2025-02-18 20:17:57 +01:00
parent 7409e9ca10
commit 366a0e221a
131 changed files with 20171 additions and 585 deletions

View file

@ -1,8 +1,8 @@
{config, ...}: {
_: {
disko.devices = {
disk = {
vdb = {
device = "/dev/nvme0n1";
main = {
device = "/dev/disk/by-id/nvme-SAMSUNG_MZVLB512HBJQ-000L2_S4DYNF0M893481";
type = "disk";
content = {
type = "gpt";
@ -28,8 +28,8 @@
content = {
type = "luks";
name = "crypted";
# passwordFile = "/luks-password";
passwordFile = config.age.secrets.luks-password.path;
# Copied by deploy script, otherwise it will prompt for password
passwordFile = "/luks-password";
settings = {
allowDiscards = true;
bypassWorkqueues = true;