diff options
| author | seth <[email protected]> | 2023-02-22 02:22:10 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-02-22 02:22:10 -0500 |
| commit | 01ccb0cead584733e6c89fcad44c441fe05bc5c7 (patch) | |
| tree | 54703a80882ed366b237c27f88b858f3106eb0e3 /hosts/glados/hardware-configuration.nix | |
| parent | 9c4a04054f5c72c3c66973b0bea06d10e042947c (diff) | |
switch back to alejandra
nixpkgs-fmt is weird...
Diffstat (limited to 'hosts/glados/hardware-configuration.nix')
| -rw-r--r-- | hosts/glados/hardware-configuration.nix | 29 |
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 |
