diff --git a/flake.nix b/flake.nix index 4c96305..0879617 100644 --- a/flake.nix +++ b/flake.nix @@ -7,9 +7,10 @@ url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; }; - outputs = { self, nixpkgs, ... } @ inputs: { + outputs = { self, nixpkgs, nixos-hardware, ... } @ inputs: { nixosConfigurations.rhea-laptop = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; }; @@ -17,6 +18,7 @@ # List all Modules to load modules = [ + nixos-hardware.nixosModules.framework-13-7040-amd ./modules/configuration.nix ./modules/hardware-configuration.nix ./modules/shell.nix diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index 9c03cdc..f51fae9 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -35,4 +35,7 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + + # Enable fwupdate + services.fwupd.enable = true; }