From 333fef22974145d315075dd16fe2414974cadaf4 Mon Sep 17 00:00:00 2001 From: caandt Date: Tue, 31 Dec 2024 21:25:34 -0500 Subject: [PATCH] formatting --- hosts/mikan/hardware-configuration.nix | 22 +++++++++++++--------- user/config/starship/default.nix | 6 +++++- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/hosts/mikan/hardware-configuration.nix b/hosts/mikan/hardware-configuration.nix index bb83c96..f2ad9d9 100644 --- a/hosts/mikan/hardware-configuration.nix +++ b/hosts/mikan/hardware-configuration.nix @@ -1,17 +1,21 @@ # 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 + "/profiles/qemu-guest.nix") - ]; + config, + lib, + pkgs, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/profiles/qemu-guest.nix") + ]; - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"]; + boot.initrd.kernelModules = []; + boot.kernelModules = ["kvm-amd"]; + boot.extraModulePackages = []; # 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 diff --git a/user/config/starship/default.nix b/user/config/starship/default.nix index 6286424..1a99f16 100644 --- a/user/config/starship/default.nix +++ b/user/config/starship/default.nix @@ -1,4 +1,8 @@ -{config, lib, ...}: { +{ + config, + lib, + ... +}: { programs.starship = { enable = true; settings = lib.mkDefault {