From 3fea50da32e5cd7efd57c7d2f916eaebf3ce9b60 Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 14 Sep 2023 20:58:42 +0900 Subject: chore: reformat --- nixos/haruka/configuration.nix | 2 +- nixos/haruka/hardware-configuration.nix | 21 +++++++++++++-------- 2 files changed, 14 insertions(+), 9 deletions(-) (limited to 'nixos/haruka') diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix index c6aecdc..41dfc4a 100644 --- a/nixos/haruka/configuration.nix +++ b/nixos/haruka/configuration.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: { - imports = [ ]; + imports = [ ]; security = { rtkit.enable = true; diff --git a/nixos/haruka/hardware-configuration.nix b/nixos/haruka/hardware-configuration.nix index d4b89d1..06a342f 100644 --- a/nixos/haruka/hardware-configuration.nix +++ b/nixos/haruka/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,33 +15,37 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "rpool/local/root"; + { + device = "rpool/local/root"; fsType = "zfs"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/5382-69DE"; + { + device = "/dev/disk/by-uuid/5382-69DE"; fsType = "vfat"; }; fileSystems."/nix" = - { device = "rpool/local/nix"; + { + device = "rpool/local/nix"; fsType = "zfs"; }; fileSystems."/home" = - { device = "rpool/safe/home"; + { + device = "rpool/safe/home"; fsType = "zfs"; }; fileSystems."/persist" = - { device = "rpool/safe/persist"; + { + device = "rpool/safe/persist"; fsType = "zfs"; }; swapDevices = - [ { device = "/dev/disk/by-uuid/88f5f850-d91c-4eba-be16-944717e9d24d"; } - ]; + [{ device = "/dev/disk/by-uuid/88f5f850-d91c-4eba-be16-944717e9d24d"; }]; # 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 -- cgit 1.4.1