diff --git a/flake.lock b/flake.lock index ec583b5..3c76c3f 100644 --- a/flake.lock +++ b/flake.lock @@ -7,16 +7,15 @@ ] }, "locked": { - "lastModified": 1783221248, - "narHash": "sha256-ESQnuNHEDChsB4IxoLRhscVahqkDWkTb+qdIz8euYt4=", + "lastModified": 1783618078, + "narHash": "sha256-F43DGcBoIO8xOZFAfodg3jy0VghB9NGdb6xbTYAIx1A=", "owner": "nix-community", "repo": "home-manager", - "rev": "af2beae5f0fae0a4310cc0e6aef2572f56090353", + "rev": "144f4e36d0186195037da9fce80a727108978070", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-26.05", "repo": "home-manager", "type": "github" } @@ -57,16 +56,16 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1783148766, - "narHash": "sha256-uslt2pqShTIXDdAHRHv2QkYLsVdY8Oqwz0EA48/RSM8=", + "lastModified": 1783224372, + "narHash": "sha256-8i/87eeoqiGE4yOTjwSA3Eh/ziJRQEmd/unYU+K27sk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a50de1b7d8a586adc18d2395c19de7d6058e6030", + "rev": "d407951447dcd00442e97087bf374aad70c04cea", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-26.05", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 3b0db0b..4b6f4c1 100644 --- a/flake.nix +++ b/flake.nix @@ -1,13 +1,13 @@ { inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; kutu.url = "git+https://git.syedm.dev/syedm/kutu.rb.git"; spicetify-nix.url = "github:Gerg-L/spicetify-nix/24.11"; home-manager = { - url = "github:nix-community/home-manager/release-26.05"; + url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; }; diff --git a/modules/workstation/graphics.nix b/modules/workstation/graphics.nix index 1564f13..b8f6b4b 100644 --- a/modules/workstation/graphics.nix +++ b/modules/workstation/graphics.nix @@ -5,6 +5,8 @@ "nouveau" ]; + boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ]; + boot.kernelParams = [ "mem_sleep_default=deep" "video=efifb:1920x1080" @@ -16,8 +18,7 @@ hardware.nvidia = { modesetting.enable = true; powerManagement.enable = true; - nvidiaSettings = true; - open = false; + open = true; prime = { offload = { enable = true;