From 222c7e35d7e9507f6eb8d67bb7af3ef9e623d0f3 Mon Sep 17 00:00:00 2001 From: tzlil Date: Fri, 17 Feb 2023 17:46:47 +0200 Subject: added alejandra as formatter and formatted everything --- hosts/disko.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'hosts/disko.nix') diff --git a/hosts/disko.nix b/hosts/disko.nix index 4808edd..26d1849 100644 --- a/hosts/disko.nix +++ b/hosts/disko.nix @@ -1,5 +1,9 @@ # Example to create a bios compatible gpt partition -{ lib, disks, ... }: { +{ + lib, + disks, + ... +}: { disk = lib.genAttrs disks (dev: { device = dev; type = "disk"; @@ -29,7 +33,7 @@ extraArgs = "-f"; # Override existing partition subvolumes = { "/" = { - mountOptions = ["noatime" "compress=zstd"]; + mountOptions = ["noatime" "compress=zstd"]; }; }; }; @@ -37,13 +41,16 @@ ]; }; }); - + nodev = { "/" = { fsType = "tmpfs"; mountOptions = [ - "noexec" "defaults" "size=2G" "mode=755" + "noexec" + "defaults" + "size=2G" + "mode=755" ]; }; }; -} \ No newline at end of file +} -- cgit 1.4.1