feat(home-manager): install nixgl
This commit is contained in:
parent
0b49ad2e92
commit
93bb0be9be
2 changed files with 6 additions and 3 deletions
|
@ -51,11 +51,12 @@
|
|||
overlays = [ nixgl.overlay ];
|
||||
};
|
||||
extraSpecialArgs = {
|
||||
inherit stateVersion inputs;
|
||||
inherit stateVersion inputs nixgl;
|
||||
hostname = hostname;
|
||||
username = username;
|
||||
};
|
||||
modules = [
|
||||
{ nixpkgs.overlays = [ nixgl.overlay ];}
|
||||
./home-manager/default.nix
|
||||
];
|
||||
};
|
||||
|
|
|
@ -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}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue