Compare commits

..

4 Commits

Author SHA1 Message Date
coolneng 984b9d1d51
Tweak the performance of the GPU 2023-09-01 23:46:00 +02:00
coolneng 18a57605ac
flake.lock: Update
Flake lock file updates:

• Updated input 'openconnect-sso/nixpkgs':
    'path:/nix/store/9za793c35j4rnawwf2n2wpbwwnah1rq9-source?lastModified=1622282707&narHash=sha256-%2BGOrUDsdneUqrOm9d%2B9bHXjEVoVcU8tm14WGVzbt6gg%3D&rev=6933d068c5d2fcff398e802f7c4e271bbdab6705' (2021-05-29)
  → follows 'nixpkgs'
2023-09-01 22:34:50 +02:00
coolneng e60cd27492
flake.lock: Update
Flake lock file updates:

• Added input 'openconnect-sso/flake-utils':
    'github:numtide/flake-utils/7d706970d94bc5559077eb1a6600afddcd25a7c8' (2021-05-31)
• Added input 'openconnect-sso/nixpkgs':
    'path:/nix/store/9za793c35j4rnawwf2n2wpbwwnah1rq9-source?lastModified=1622282707&narHash=sha256-%2BGOrUDsdneUqrOm9d%2B9bHXjEVoVcU8tm14WGVzbt6gg%3D&rev=6933d068c5d2fcff398e802f7c4e271bbdab6705' (2021-05-29)
2023-09-01 22:30:41 +02:00
coolneng a4af9abe38
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/f4d70d098f066a30c7087144063dca179495f7d6' (2023-08-13)
  → 'github:Mic92/nix-index-database/53d40cf1bea235658ef8f6e8b8a1d033e2ecbfff' (2023-08-27)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e7f38be3775bab9659575f192ece011c033655f0' (2023-08-30)
  → 'github:NixOS/nixpkgs/3e52e76b70d5508f3cec70b882a29199f4d1ee85' (2023-08-31)
• Updated input 'openconnect-sso':
    'github:vlaci/openconnect-sso/51e1eb727a93cf8b063157b7e9453dd21d3ba85f' (2023-07-14)
  → 'github:vlaci/openconnect-sso/94128073ef49acb3bad84a2ae19fdef926ab7bdf' (2023-08-22)
2023-09-01 18:44:09 +02:00
4 changed files with 36 additions and 16 deletions

View File

@ -25,13 +25,12 @@ with pkgs;
};
# Intel CPU tweaks
hardware = {
enableRedistributableFirmware = true;
cpu.intel.updateMicrocode = true;
};
hardware.enableRedistributableFirmware = 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
boot.loader = {

View File

@ -60,6 +60,21 @@
"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": {
"inputs": {
"nixpkgs": [
@ -101,11 +116,11 @@
]
},
"locked": {
"lastModified": 1691897365,
"narHash": "sha256-jvWIU4ht3YAmF8TDVM2Ps2+Gf4MtNGLL1zEWQZdTrzU=",
"lastModified": 1693107069,
"narHash": "sha256-5dVXPchyvzmytanlwXHcmeQP9AfO/98Q6V+QtsMl5vQ=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "f4d70d098f066a30c7087144063dca179495f7d6",
"rev": "53d40cf1bea235658ef8f6e8b8a1d033e2ecbfff",
"type": "github"
},
"original": {
@ -116,11 +131,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1693377291,
"narHash": "sha256-vYGY9bnqEeIncNarDZYhm6KdLKgXMS+HA2mTRaWEc80=",
"lastModified": 1693471703,
"narHash": "sha256-0l03ZBL8P1P6z8MaSDS/MvuU8E75rVxe5eE1N6gxeTo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e7f38be3775bab9659575f192ece011c033655f0",
"rev": "3e52e76b70d5508f3cec70b882a29199f4d1ee85",
"type": "github"
},
"original": {
@ -130,13 +145,18 @@
}
},
"openconnect-sso": {
"flake": false,
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1689349020,
"narHash": "sha256-2UVtOb0gD6wqEY/BeLZ2BCrR/qyb6M0mgf8CRNxflPA=",
"lastModified": 1692692901,
"narHash": "sha256-JFVvTw11KFnrd/A5z3QCh30ac9MZG+ojDY3udAFpmCE=",
"owner": "vlaci",
"repo": "openconnect-sso",
"rev": "51e1eb727a93cf8b063157b7e9453dd21d3ba85f",
"rev": "94128073ef49acb3bad84a2ae19fdef926ab7bdf",
"type": "github"
},
"original": {

View File

@ -48,6 +48,7 @@ with pkgs;
export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket
export GIT_CONFIG_NOSYSTEM=true
export SYSTEMD_LESS=FRSMK
export LIBVA_DRIVER_NAME=iHD
'';
wrapperFeatures.gtk = true;
};

View File

@ -58,7 +58,7 @@
options mac80211 beacon_loss_count=500
options iwlwifi power_save=1
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
'';
}