about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-14 20:58:42 +0900
committersefidel <contact@sefidel.net>2023-09-14 20:58:42 +0900
commit3fea50da32e5cd7efd57c7d2f916eaebf3ce9b60 (patch)
tree42d1c4a5f76b8ac6a656350af3ec1ed0cc9aa896 /nixos
parent379980b29e5d1e2f6871dd4c7aa6ec0d6ae02b3f (diff)
downloadnixrc-3fea50da32e5cd7efd57c7d2f916eaebf3ce9b60.tar.gz
nixrc-3fea50da32e5cd7efd57c7d2f916eaebf3ce9b60.zip
chore: reformat
Diffstat (limited to 'nixos')
-rw-r--r--nixos/haruka/configuration.nix2
-rw-r--r--nixos/haruka/hardware-configuration.nix21
2 files changed, 14 insertions, 9 deletions
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