feat(home-manager): install nixgl

This commit is contained in:
Yorick Barbanneau 2025-08-24 15:19:17 +02:00
parent 0b49ad2e92
commit 93bb0be9be
Signed by: ephase
GPG key ID: 246042E52B41FFCF
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ inputs, lib, stateVersion, username, hostname, ... }:
{ inputs, lib, stateVersion, username, hostname, nixgl, ... }:
{
imports = [
inputs.sops-nix.homeManagerModules.sops
@ -12,7 +12,9 @@
nixpkgs.config.allowUnfree = true;
programs.home-manager.enable = true;
fonts.fontconfig.enable = true;
nixGL.packages = nixgl.packages;
nixGL.defaultWrapper = "mesa";
nixGL.installScripts = ["mesa"];
home = {
inherit stateVersion username;
homeDirectory = "/home/${username}";