diff --git a/hosts/alice/hardware-configuration.nix b/hosts/alice/hardware-configuration.nix index eb5bac8..999b1e4 100644 --- a/hosts/alice/hardware-configuration.nix +++ b/hosts/alice/hardware-configuration.nix @@ -1,31 +1,35 @@ # 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" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"]; + boot.initrd.kernelModules = []; + boot.kernelModules = []; + boot.extraModulePackages = []; - fileSystems."/" = - { device = "UUID=288cfd6e-dd6d-4ac4-bc2f-36c1309f8619"; - fsType = "bcachefs"; - }; + fileSystems."/" = { + device = "UUID=288cfd6e-dd6d-4ac4-bc2f-36c1309f8619"; + fsType = "bcachefs"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/6029-DD49"; - fsType = "vfat"; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/6029-DD49"; + fsType = "vfat"; + }; - swapDevices = - [ { device = "/dev/disk/by-uuid/62a6b7a0-413a-46e8-bf6f-aba4eedf06a9"; } - ]; + swapDevices = [ + {device = "/dev/disk/by-uuid/62a6b7a0-413a-46e8-bf6f-aba4eedf06a9";} + ]; # 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/users/buffet/comma.nix b/users/buffet/comma.nix index 726211e..ad17054 100644 --- a/users/buffet/comma.nix +++ b/users/buffet/comma.nix @@ -1,4 +1,8 @@ -{pkgs, nix-index-database, ...}: { +{ + pkgs, + nix-index-database, + ... +}: { home-manager.users.buffet = { home = { file.".cache/nix-index/files".source = nix-index-database.legacyPackages.${pkgs.stdenv.system}.database; diff --git a/users/buffet/default.nix b/users/buffet/default.nix index 674f732..1fc2434 100644 --- a/users/buffet/default.nix +++ b/users/buffet/default.nix @@ -1,7 +1,4 @@ -{ - pkgs, - ... -}: { +{pkgs, ...}: { imports = [ ./bash.nix ./cargo.nix