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 # 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 = {

View File

@ -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": {

View File

@ -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;
}; };

View File

@ -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
''; '';
} }