mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
feat: add ucodenix and auto update microcode
This commit is contained in:
parent
a4e83309b7
commit
636a7529c7
4 changed files with 32 additions and 0 deletions
21
flake.lock
21
flake.lock
|
@ -850,6 +850,7 @@
|
|||
"nixpkgs": "nixpkgs_2",
|
||||
"spicetify": "spicetify",
|
||||
"stylix": "stylix",
|
||||
"ucode": "ucode",
|
||||
"vesktop-bin": "vesktop-bin",
|
||||
"viminal": "viminal",
|
||||
"wallpapers": "wallpapers",
|
||||
|
@ -1090,6 +1091,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ucode": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731428847,
|
||||
"narHash": "sha256-x+Q0I+R+aBZoJIEuBFDDJFjFu+todWsZJXrQkAuVh/o=",
|
||||
"owner": "e-tho",
|
||||
"repo": "ucodenix",
|
||||
"rev": "404f4adc330b4a4047cecbc4457d4ae2abe69bed",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "e-tho",
|
||||
"repo": "ucodenix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"vesktop-bin": {
|
||||
"inputs": {
|
||||
"flake-utils": [
|
||||
|
|
|
@ -45,6 +45,11 @@
|
|||
inputs.flake-parts.follows = "flake-parts";
|
||||
};
|
||||
|
||||
ucode = {
|
||||
url = "github:e-tho/ucodenix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
lix-module = {
|
||||
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-1.tar.gz";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
@ -59,6 +59,11 @@
|
|||
initrd.systemd.enable = true;
|
||||
};
|
||||
|
||||
services.ucodenix = {
|
||||
enable = true;
|
||||
cpuModelId = "00A50F00";
|
||||
};
|
||||
|
||||
# boot.lanzaboote = {
|
||||
# enable = false;
|
||||
# pkiBundle = "/etc/secureboot";
|
||||
|
|
|
@ -46,5 +46,6 @@
|
|||
++ (with inputs; [
|
||||
lix-module.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
ucode.nixosModules.default
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue