From 2df96c6888f2365afa51372fbeea86d5306e6319 Mon Sep 17 00:00:00 2001 From: CherryKitten Date: Sat, 1 Jun 2024 20:12:20 +0200 Subject: [PATCH] nix fmt --- hosts/dinictis/hardware-configuration.nix | 24 ++++++++++++++--------- overlays/default.nix | 2 +- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/hosts/dinictis/hardware-configuration.nix b/hosts/dinictis/hardware-configuration.nix index 6f7bedc..85d2415 100644 --- a/hosts/dinictis/hardware-configuration.nix +++ b/hosts/dinictis/hardware-configuration.nix @@ -5,7 +5,8 @@ { imports = - [ (modulesPath + "/installer/scan/not-detected.nix") + [ + (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ]; @@ -14,7 +15,8 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/a3e601e7-7005-4513-8dff-748d9f384646"; + { + device = "/dev/disk/by-uuid/a3e601e7-7005-4513-8dff-748d9f384646"; fsType = "btrfs"; options = [ "subvol=root" ]; }; @@ -23,38 +25,42 @@ boot.initrd.luks.devices."swap".device = "/dev/disk/by-uuid/4bd4ac67-74a8-4a67-b5eb-e8ebf814d5d7"; fileSystems."/home" = - { device = "/dev/disk/by-uuid/a3e601e7-7005-4513-8dff-748d9f384646"; + { + device = "/dev/disk/by-uuid/a3e601e7-7005-4513-8dff-748d9f384646"; fsType = "btrfs"; options = [ "subvol=home" ]; }; fileSystems."/nix" = - { device = "/dev/disk/by-uuid/a3e601e7-7005-4513-8dff-748d9f384646"; + { + device = "/dev/disk/by-uuid/a3e601e7-7005-4513-8dff-748d9f384646"; fsType = "btrfs"; options = [ "subvol=nix" ]; }; fileSystems."/persist" = - { device = "/dev/disk/by-uuid/a3e601e7-7005-4513-8dff-748d9f384646"; + { + device = "/dev/disk/by-uuid/a3e601e7-7005-4513-8dff-748d9f384646"; fsType = "btrfs"; options = [ "subvol=persist" ]; }; fileSystems."/var/log" = - { device = "/dev/disk/by-uuid/a3e601e7-7005-4513-8dff-748d9f384646"; + { + device = "/dev/disk/by-uuid/a3e601e7-7005-4513-8dff-748d9f384646"; fsType = "btrfs"; options = [ "subvol=log" ]; neededForBoot = true; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/6891-5A39"; + { + device = "/dev/disk/by-uuid/6891-5A39"; fsType = "vfat"; }; swapDevices = - [ { device = "/dev/disk/by-uuid/65f4c4dd-57e7-4709-a017-2277874d3917"; } - ]; + [{ device = "/dev/disk/by-uuid/65f4c4dd-57e7-4709-a017-2277874d3917"; }]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's diff --git a/overlays/default.nix b/overlays/default.nix index ca6a325..e2a8f28 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -2,6 +2,6 @@ { nixpkgs.overlays = [ - (import ./gotosocial.nix) + (import ./gotosocial.nix) ]; }