mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 10:30:14 +01:00
update intel graphics config
This commit is contained in:
parent
44b17a0648
commit
04ef22593a
18
flake.lock
18
flake.lock
|
@ -40,11 +40,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732319136,
|
"lastModified": 1732466619,
|
||||||
"narHash": "sha256-wpmPl6FkAF9Jj5C/rzANgpUjfzQrUYOn267LnzKU2uI=",
|
"narHash": "sha256-T1e5oceypZu3Q8vzICjv1X/sGs9XfJRMW5OuXHgpB3c=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "f8831cc700030e11fc91da9ef6270593e6440edc",
|
"rev": "f3111f62a23451114433888902a55cf0692b408d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -182,11 +182,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731755305,
|
"lastModified": 1732350895,
|
||||||
"narHash": "sha256-v5P3dk5JdiT+4x69ZaB18B8+Rcu3TIOrcdG4uEX7WZ8=",
|
"narHash": "sha256-GcOQbOgmwlsRhpLGSwZJwLbo3pu9ochMETuRSS1xpz4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "057f63b6dc1a2c67301286152eb5af20747a9cb4",
|
"rev": "0c582677378f2d9ffcb01490af2f2c678dcb29d3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -214,11 +214,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-droid": {
|
"nixpkgs-droid": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731797254,
|
"lastModified": 1732749044,
|
||||||
"narHash": "sha256-df3dJApLPhd11AlueuoN0Q4fHo/hagP75LlM5K1sz9g=",
|
"narHash": "sha256-T38FQOg0BV5M8FN1712fovzNakSOENEYs+CSkg31C9Y=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e8c38b73aeb218e27163376a2d617e61a2ad9b59",
|
"rev": "0c5b4ecbed5b155b705336aa96d878e55acd8685",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
my-apply = "sudo nixos-rebuild boot";
|
my-apply = "sudo nixos-rebuild boot --flake";
|
||||||
my-switch = "sudo nixos-rebuild switch";
|
my-switch = "sudo nixos-rebuild switch --flake";
|
||||||
my-update = "sudo nixos-rebuild boot --upgrade";
|
my-update = "sudo nixos-rebuild boot --upgrade --flake";
|
||||||
my-pull = "git -C ~/Repos/nixos-configuration pull --rebase";
|
my-pull = "git -C ~/Repos/nixos-configuration pull --rebase";
|
||||||
my-fmt = "alejandra .";
|
my-fmt = "alejandra .";
|
||||||
my-test = "sudo nixos-rebuild test";
|
my-test = "sudo nixos-rebuild test";
|
||||||
|
@ -16,7 +16,6 @@
|
||||||
my-ip4 = "ip addr show | grep 192";
|
my-ip4 = "ip addr show | grep 192";
|
||||||
deadnix = "nix run github:astro/deadnix -- ";
|
deadnix = "nix run github:astro/deadnix -- ";
|
||||||
statix = "nix run git+https://git.peppe.rs/languages/statix -- ";
|
statix = "nix run git+https://git.peppe.rs/languages/statix -- ";
|
||||||
my-nix-fixup = "deadnix -e && statix fix";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
history = {
|
history = {
|
||||||
|
|
|
@ -3,7 +3,10 @@
|
||||||
imports = [ ../../modules/intel-graphics.nix ];
|
imports = [ ../../modules/intel-graphics.nix ];
|
||||||
config = {
|
config = {
|
||||||
# intel cpu
|
# intel cpu
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [
|
||||||
|
"kvm-intel"
|
||||||
|
"xe"
|
||||||
|
];
|
||||||
hardware.cpu.intel.updateMicrocode = true;
|
hardware.cpu.intel.updateMicrocode = true;
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
|
|
|
@ -4,16 +4,14 @@
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
vaapiIntel
|
intel-vaapi-driver
|
||||||
vaapiVdpau
|
|
||||||
libvdpau-va-gl
|
|
||||||
intel-ocl
|
intel-ocl
|
||||||
|
intel-compute-runtime
|
||||||
|
vpl-gpu-rt
|
||||||
];
|
];
|
||||||
extraPackages32 = with pkgs.pkgsi686Linux; [
|
extraPackages32 = with pkgs.driversi686Linux; [
|
||||||
|
intel-vaapi-driver
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
vaapiIntel
|
|
||||||
vaapiVdpau
|
|
||||||
libvdpau-va-gl
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [ nvtopPackages.intel ];
|
environment.systemPackages = with pkgs; [ nvtopPackages.intel ];
|
||||||
|
|
Loading…
Reference in a new issue