Skip to content

Commit

Permalink
Use facter with ucodenix!
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Dec 13, 2024
1 parent 1632d24 commit 0bc71bc
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 36 deletions.
89 changes: 55 additions & 34 deletions flake.lock

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

2 changes: 1 addition & 1 deletion hosts/isshin/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
services = lib.mkIf (config.services ? ucodenix) {
ucodenix.enable = true;
ucodenix.cpuModelId = "00A70F41";
# ucodenix.cpuModelId = "00A70F41";
};

hosts = {
Expand Down
3 changes: 2 additions & 1 deletion modules/nixos/system/amd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
xserver.videoDrivers = [ "amdgpu" ];
ucodenix = {
enable = lib.mkDefault true;
cpuModelId = lib.mkDefault "auto";
cpuModelId = lib.mkDefault config.facter.reportPath;
# cpuModelId = lib.mkDefault "auto";
};
};

Expand Down

0 comments on commit 0bc71bc

Please sign in to comment.