Skip to content

Commit

Permalink
ucodenix
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Nov 12, 2024
1 parent 6811757 commit c0fb45e
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 1 deletion.
21 changes: 21 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};

ucodenix = {
url = "github:e-tho/ucodenix";
inputs.nixpkgs.follows = "nixpkgs";
};

vim-autoread = {
flake = false;
url = "github:djoshea/vim-autoread/24061f84652d768bfb85d222c88580b3af138dab";
Expand Down
6 changes: 5 additions & 1 deletion nixos-configurations/termitomyces/cpu.nix
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{ boot.kernelModules = [ "kvm-amd" ]; }
{
boot.kernelModules = [ "kvm-amd" ];

services.ucodenix.cpuModelId = "00A60F12";
}
6 changes: 6 additions & 0 deletions nixos-modules/modules/microcode.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{ self, ... }:
{
imports = [ self.inputs.ucodenix.nixosModules.default ];

services.ucodenix.enable = true;
}
1 change: 1 addition & 0 deletions nixos-modules/types/desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
../modules/home-related-hacks.nix
../modules/home.nix
../modules/known-hosts.nix
../modules/microcode.nix
../modules/networking.nix
../modules/nh.nix
../modules/nix-index.nix
Expand Down

0 comments on commit c0fb45e

Please sign in to comment.