nix: format with alejandra

This commit is contained in:
Primrose 2025-02-08 12:05:12 +01:00
parent d5cad148da
commit 95eb4b71e0
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
118 changed files with 1291 additions and 1703 deletions

View file

@ -1,5 +1,4 @@
# Adapted from: https://github.com/nix-community/disko/blob/master/example/luks-lvm.nix
{
disko.devices = {
disk = {
@ -16,7 +15,7 @@
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
mountOptions = ["umask=0077"];
};
};
luks = {
@ -24,7 +23,7 @@
content = {
type = "luks";
name = "crypted";
extraOpenArgs = [ ];
extraOpenArgs = [];
settings = {
allowDiscards = true;
};
@ -48,7 +47,7 @@
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountOptions = [ "defaults" ];
mountOptions = ["defaults"];
};
};
nix = {
@ -57,7 +56,7 @@
type = "filesystem";
format = "ext4";
mountpoint = "/nix";
mountOptions = [ "noatime" ];
mountOptions = ["noatime"];
};
};
swap = {