From d5468f6b67253eb880cfa3fe9a5ca268523c30c9 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Sun, 1 Oct 2023 16:16:25 +0200 Subject: [PATCH] magpie: format new files --- magpie/configuration.nix | 2 +- magpie/hardware-configuration.nix | 40 +++++++++++++++++-------------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/magpie/configuration.nix b/magpie/configuration.nix index d74693d..292e2db 100644 --- a/magpie/configuration.nix +++ b/magpie/configuration.nix @@ -6,7 +6,7 @@ pkgs, ... }: { - imports = [ ]; + imports = []; nix.optimise.automatic = true; nix.settings.experimental-features = ["nix-command" "flakes"]; diff --git a/magpie/hardware-configuration.nix b/magpie/hardware-configuration.nix index aa127f1..f5e1c80 100644 --- a/magpie/hardware-configuration.nix +++ b/magpie/hardware-configuration.nix @@ -1,29 +1,33 @@ # 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, ... }: - { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + config, + lib, + pkgs, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "usbhid" "sr_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = ["xhci_pci" "virtio_pci" "usbhid" "sr_mod"]; + boot.initrd.kernelModules = []; + boot.kernelModules = []; + boot.extraModulePackages = []; - fileSystems."/" = - { device = "/dev/disk/by-uuid/118de1e5-f23e-4af3-a10a-054eded78152"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/118de1e5-f23e-4af3-a10a-054eded78152"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/4FEE-DEED"; - fsType = "vfat"; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/4FEE-DEED"; + 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