From d11bc6a7229a05667b2b3554ae7d585ec033420d Mon Sep 17 00:00:00 2001 From: caandt Date: Sun, 16 Nov 2025 18:04:21 -0600 Subject: [PATCH] format --- hosts/tachibana/default.nix | 6 +++--- hosts/tachibana/hardware-configuration.nix | 22 +++++++++++++--------- user/bin/default.nix | 12 +++++++----- 3 files changed, 23 insertions(+), 17 deletions(-) diff --git a/hosts/tachibana/default.nix b/hosts/tachibana/default.nix index 2447dcf..b2b8096 100644 --- a/hosts/tachibana/default.nix +++ b/hosts/tachibana/default.nix @@ -13,9 +13,9 @@ ]; boot.kernelPackages = pkgs.linuxPackages_latest; - boot.extraModulePackages = [ config.boot.kernelPackages.it87 ]; - boot.kernelParams = [ "acpi_enforce_resources=lax" ]; - boot.kernelModules = [ "it87" ]; + boot.extraModulePackages = [config.boot.kernelPackages.it87]; + boot.kernelParams = ["acpi_enforce_resources=lax"]; + boot.kernelModules = ["it87"]; boot.extraModprobeConfig = "options it87 ignore_resource_conflict=1 force_id=0x8622"; services.getty = { autologinOnce = true; diff --git a/hosts/tachibana/hardware-configuration.nix b/hosts/tachibana/hardware-configuration.nix index f6666c7..8306ec5 100644 --- a/hosts/tachibana/hardware-configuration.nix +++ b/hosts/tachibana/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 + "/installer/scan/not-detected.nix") - ]; + config, + lib, + pkgs, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "thunderbolt" "usb_storage" "usbhid" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "thunderbolt" "usb_storage" "usbhid" "sd_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/bin/default.nix b/user/bin/default.nix index 774eb37..6011f2c 100644 --- a/user/bin/default.nix +++ b/user/bin/default.nix @@ -19,11 +19,13 @@ in { record-audio = [pulseaudio ffmpeg jq]; } // lib.optionalAttrs config.u.has.jp { - anki-update = [libnotify inotify-tools pulseaudio ffmpeg jq pyp - (writers.writePython3Bin "furigana" { - libraries = [python3Packages.fugashi python3Packages.unidic-lite]; - } (builtins.readFile ./furigana)) - ]; + anki-update = + [libnotify inotify-tools pulseaudio ffmpeg jq pyp] + ++ [ + (writers.writePython3Bin "furigana" { + libraries = [python3Packages.fugashi python3Packages.unidic-lite]; + } (builtins.readFile ./furigana)) + ]; }; home.file = builtins.listToAttrs ( map