nixos/flake.lock: Update
Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/4eb4fec41674d5b059aa2eedf0f98453890546fa?narHash=sha256-WU6SUrESuPiEXEUvX4D51AgWrXRJty%2BsLJBwBaDBGqE%3D' (2026-06-08)
→ 'github:nix-community/home-manager/d899b01766784bcc9a141ee13bad6dc689d47c37?narHash=sha256-hIaUkf6qalGk2xxNEkBMP2m2aPBq%2BqXvUPOIwwEDySI%3D' (2026-06-10)
• Updated input 'nixpkgs-unstable':
'github:NixOS/nixpkgs/29916453413845e54a65b8a1cf996842300cd299?narHash=sha256-Ap9KJX%2B5xHIn3bPIpfNgT6MEXdAECECwo4/rmlQD74M%3D' (2026-05-23)
→ 'github:NixOS/nixpkgs/a799d3e3886da994fa307f817a6bc705ae538eeb?narHash=sha256-3av0pIjlOWQ6rDbNOmpUSvbNnJkGORQKKjb4LtCZsIY%3D' (2026-06-06)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/c591bf665727040c6cc5cb409079acb22dcce33c?narHash=sha256-VfGRo1qTBKOe3s2gOv8LSoA6Fk19PvBlwQ1ECN0Evn8%3D' (2026-05-05)
→ 'github:Mic92/sops-nix/9ed65852b6257fbeae4355bc24ecfea307ca759a?narHash=sha256-Gq8KNx5A7hBB3uGJaj6eQfLDIz5YdLu92gqBcvHvoUo%3D' (2026-06-04)
This commit is contained in:
parent
8e65aaaf60
commit
8b32d02d0e
6 changed files with 31 additions and 181 deletions
|
|
@ -25,15 +25,6 @@ in {
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
boot = {
|
||||
extraModprobeConfig = ''
|
||||
options nvidia-drm modeset=1
|
||||
'';
|
||||
kernelParams = [
|
||||
"nvidia_drm.modeset=1"
|
||||
];
|
||||
};
|
||||
|
||||
hardware = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
|
|
@ -51,7 +42,9 @@ in {
|
|||
nvidia = {
|
||||
# Use the NVidia open source kernel module (or not)
|
||||
open = false;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
branch = "stable";
|
||||
# To override the default package set by the branch:
|
||||
#package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
# Modesetting is required.
|
||||
modesetting.enable = true;
|
||||
nvidiaSettings = cfg.gui-settings;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue