diff --git a/configuration.nix b/configuration.nix index cd6713f..e108be3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -19,7 +19,6 @@ git gnupg imv - keepassxc mdbook mpv neovim diff --git a/hosts/anvil/hardware-configuration.nix b/hosts/anvil/hardware-configuration.nix index 141e951..661efab 100644 --- a/hosts/anvil/hardware-configuration.nix +++ b/hosts/anvil/hardware-configuration.nix @@ -1,6 +1,5 @@ -# 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. +# TODO: Replace with actual hardware-configuration.nix from anvil machine +# Run on anvil: nixos-generate-config --show-hardware-config { config, lib, pkgs, modulesPath, ... }: { @@ -8,35 +7,14 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "uas" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; + # Placeholder filesystem - replace with actual values from anvil + fileSystems."/" = { + device = "/dev/disk/by-uuid/PLACEHOLDER"; + fsType = "ext4"; + }; - fileSystems."/" = - { device = "/dev/disk/by-uuid/378fb925-59d8-4128-827e-ccf3b95dc1cd"; - fsType = "ext4"; - }; - - boot.initrd.luks.devices."luks-c5329739-af6f-4b31-b4e6-62e3045e1789".device = "/dev/disk/by-uuid/c5329739-af6f-4b31-b4e6-62e3045e1789"; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/AFB2-F027"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/3e515b22-e746-4df6-b92e-d734ec250571"; } - ]; - - # 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 - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/PLACEHOLDER"; + fsType = "vfat"; + }; }