diff --git a/flake.lock b/flake.lock index e862b1b..51e1db3 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ "locked": { "lastModified": 1, "narHash": "sha256-cLqKFRw5I2HMWzfIolLyNVmk094KoIqt0zRdRwo7a5Y=", - "path": "/nix/store/rfj2sg2jdqnk1m93qqkszx4086jss2q8-source/home/ags", + "path": "/nix/store/xvy28g27rbhc73ixnl9aa3dn7sn2iw5f-source/home/ags", "type": "path" }, "original": { - "path": "/nix/store/rfj2sg2jdqnk1m93qqkszx4086jss2q8-source/home/ags", + "path": "/nix/store/xvy28g27rbhc73ixnl9aa3dn7sn2iw5f-source/home/ags", "type": "path" } }, diff --git a/hosts/Asturia/hardware-configuration.nix b/hosts/Asturia/hardware-configuration.nix index b1fbd2a..eecea79 100644 --- a/hosts/Asturia/hardware-configuration.nix +++ b/hosts/Asturia/hardware-configuration.nix @@ -1,29 +1,37 @@ +# 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") ]; + imports = + [ (modulesPath + "/profiles/qemu-guest.nix") + ]; - boot.initrd.availableKernelModules = - [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "usbhid" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; - fileSystems."/" = { - device = "/dev/disk/by-uuid/daf843cd-8e63-48ed-831a-e055929e86cb"; - fsType = "ext4"; + fileSystems."/" = + { device = "/dev/disk/by-uuid/721d0462-9488-435e-9690-f13f11557edc"; + fsType = "ext4"; }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/E1D9-7A48"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/CE52-0414"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; }; - swapDevices = [ ]; + swapDevices = [ ]; - networking.useDHCP = lib.mkDefault false; + # 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.enp1s0.useDHCP = lib.mkDefault true; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = - lib.mkDefault config.hardware.enableRedistributableFirmware; + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }