summary refs log tree commit diff stats
path: root/hardware-configuration.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-01-08 00:03:49 +0100
committersils <sils@sils.li>2023-01-08 00:03:49 +0100
commit473f5c2a87eb6aecf93fcab873fa16d07e7bcb9e (patch)
tree6745f07b44524b73ece4244e6318bdecdd10da9c /hardware-configuration.nix
parentsome people lose keys (diff)
parentFeat: Some security for ssh (diff)
downloadnixos-server-473f5c2a87eb6aecf93fcab873fa16d07e7bcb9e.tar.gz
nixos-server-473f5c2a87eb6aecf93fcab873fa16d07e7bcb9e.zip
Merge pull request 'Format: First formatting with Alejandra' (#2) from ene/nixos-server:server1 into server1
Reviewed-on: https://git.sils.li/vhack.eu/nixos-server/pulls/2
Reviewed-by: sils <sils@sils.li>
Diffstat (limited to 'hardware-configuration.nix')
-rw-r--r--hardware-configuration.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix
index e8756e4..c4fe39a 100644
--- a/hardware-configuration.nix
+++ b/hardware-configuration.nix
@@ -1,9 +1,10 @@
-{ modulesPath, ... }:
-{
-  imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
+{modulesPath, ...}: {
+  imports = [(modulesPath + "/profiles/qemu-guest.nix")];
   boot.loader.grub.device = "/dev/vda";
-  boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
-  boot.initrd.kernelModules = [ "nvme" "btrfs" ];
-  fileSystems."/" = { device = "/dev/vda3"; fsType = "ext4"; };
-  
+  boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
+  boot.initrd.kernelModules = ["nvme" "btrfs"];
+  fileSystems."/" = {
+    device = "/dev/vda3";
+    fsType = "ext4";
+  };
 }