summaryrefslogtreecommitdiff
path: root/hosts/glados/hardware-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/glados/hardware-configuration.nix')
-rw-r--r--hosts/glados/hardware-configuration.nix29
1 files changed, 15 insertions, 14 deletions
diff --git a/hosts/glados/hardware-configuration.nix b/hosts/glados/hardware-configuration.nix
index 891c896..20d2eda 100644
--- a/hosts/glados/hardware-configuration.nix
+++ b/hosts/glados/hardware-configuration.nix
@@ -1,43 +1,44 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
-{ config
-, lib
-, pkgs
-, modulesPath
-, ...
+{
+ config,
+ lib,
+ pkgs,
+ modulesPath,
+ ...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
- boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-amd" ];
- boot.extraModulePackages = [ ];
+ boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
+ boot.initrd.kernelModules = [];
+ boot.kernelModules = ["kvm-amd"];
+ boot.extraModulePackages = [];
fileSystems."/" = {
device = "rpool/nixos/root";
fsType = "zfs";
- options = [ "zfsutil" "X-mount.mkdir" ];
+ options = ["zfsutil" "X-mount.mkdir"];
};
fileSystems."/home" = {
device = "rpool/nixos/home";
fsType = "zfs";
- options = [ "zfsutil" "X-mount.mkdir" ];
+ options = ["zfsutil" "X-mount.mkdir"];
};
fileSystems."/nix" = {
device = "rpool/nixos/nixstore";
fsType = "zfs";
- options = [ "zfsutil" "X-mount.mkdir" ];
+ options = ["zfsutil" "X-mount.mkdir"];
};
fileSystems."/var/log" = {
device = "rpool/nixos/var/log";
fsType = "zfs";
- options = [ "zfsutil" "X-mount.mkdir" ];
+ options = ["zfsutil" "X-mount.mkdir"];
};
fileSystems."/boot" = {
@@ -45,7 +46,7 @@
fsType = "vfat";
};
- swapDevices = [ ];
+ swapDevices = [];
# 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