More formatting changes

This commit is contained in:
Jimbo 2025-02-25 01:37:56 -05:00
parent 258ddad76d
commit 611eaab26c
45 changed files with 52 additions and 66 deletions

View file

@ -1,4 +1,4 @@
{ disko, config, ... }:
{ config, disko, ... }:
{
imports = [ disko.nixosModules.disko ];
@ -11,20 +11,21 @@
type = "gpt";
partitions = {
ESP = {
priority = 1;
size = "2G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "fmask=0022" "dmask=0022" ];
mountOptions = [ "umask=0077" ];
};
};
luks = {
size = "100%";
content = {
type = "luks";
name = "crypt-nvme";
name = "${config.networking.hostName}-disk";
settings.allowDiscards = true;
passwordFile = "/tmp/secret.key";
content = {