Compare commits
4 Commits
91cd785278
...
984b9d1d51
Author | SHA1 | Date |
---|---|---|
coolneng | 984b9d1d51 | |
coolneng | 18a57605ac | |
coolneng | e60cd27492 | |
coolneng | a4af9abe38 |
|
@ -25,13 +25,12 @@ with pkgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Intel CPU tweaks
|
# Intel CPU tweaks
|
||||||
hardware = {
|
hardware.enableRedistributableFirmware = true;
|
||||||
enableRedistributableFirmware = true;
|
|
||||||
cpu.intel.updateMicrocode = true;
|
|
||||||
};
|
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
|
||||||
hardware.opengl.extraPackages = [ vaapiIntel vaapiVdpau libvdpau-va-gl ];
|
# Hardware video acceleration
|
||||||
|
hardware.opengl.extraPackages =
|
||||||
|
[ intel-media-driver vaapiIntel vaapiVdpau libvdpau-va-gl ];
|
||||||
|
|
||||||
# Bootloader configuration
|
# Bootloader configuration
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
|
|
40
flake.lock
40
flake.lock
|
@ -60,6 +60,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-utils": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1622445595,
|
||||||
|
"narHash": "sha256-m+JRe6Wc5OZ/mKw2bB3+Tl0ZbtyxxxfnAWln8Q5qs+Y=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "7d706970d94bc5559077eb1a6600afddcd25a7c8",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -101,11 +116,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1691897365,
|
"lastModified": 1693107069,
|
||||||
"narHash": "sha256-jvWIU4ht3YAmF8TDVM2Ps2+Gf4MtNGLL1zEWQZdTrzU=",
|
"narHash": "sha256-5dVXPchyvzmytanlwXHcmeQP9AfO/98Q6V+QtsMl5vQ=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "f4d70d098f066a30c7087144063dca179495f7d6",
|
"rev": "53d40cf1bea235658ef8f6e8b8a1d033e2ecbfff",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -116,11 +131,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1693377291,
|
"lastModified": 1693471703,
|
||||||
"narHash": "sha256-vYGY9bnqEeIncNarDZYhm6KdLKgXMS+HA2mTRaWEc80=",
|
"narHash": "sha256-0l03ZBL8P1P6z8MaSDS/MvuU8E75rVxe5eE1N6gxeTo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e7f38be3775bab9659575f192ece011c033655f0",
|
"rev": "3e52e76b70d5508f3cec70b882a29199f4d1ee85",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -130,13 +145,18 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"openconnect-sso": {
|
"openconnect-sso": {
|
||||||
"flake": false,
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689349020,
|
"lastModified": 1692692901,
|
||||||
"narHash": "sha256-2UVtOb0gD6wqEY/BeLZ2BCrR/qyb6M0mgf8CRNxflPA=",
|
"narHash": "sha256-JFVvTw11KFnrd/A5z3QCh30ac9MZG+ojDY3udAFpmCE=",
|
||||||
"owner": "vlaci",
|
"owner": "vlaci",
|
||||||
"repo": "openconnect-sso",
|
"repo": "openconnect-sso",
|
||||||
"rev": "51e1eb727a93cf8b063157b7e9453dd21d3ba85f",
|
"rev": "94128073ef49acb3bad84a2ae19fdef926ab7bdf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -48,6 +48,7 @@ with pkgs;
|
||||||
export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket
|
export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket
|
||||||
export GIT_CONFIG_NOSYSTEM=true
|
export GIT_CONFIG_NOSYSTEM=true
|
||||||
export SYSTEMD_LESS=FRSMK
|
export SYSTEMD_LESS=FRSMK
|
||||||
|
export LIBVA_DRIVER_NAME=iHD
|
||||||
'';
|
'';
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
options mac80211 beacon_loss_count=500
|
options mac80211 beacon_loss_count=500
|
||||||
options iwlwifi power_save=1
|
options iwlwifi power_save=1
|
||||||
options iwlmvm power_scheme=3
|
options iwlmvm power_scheme=3
|
||||||
options i915 enable_dc=4 enable_fbc=1 enable_psr=1 enable_psr2_sel_fetch=1 disable_power_well=1
|
options i915 enable_guc=2
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue