feat(home-manager): add nixgl

This commit is contained in:
Yorick Barbanneau 2024-08-30 21:22:02 +02:00
parent cf8a838191
commit 3d36ef0261
4 changed files with 76 additions and 16 deletions

View file

@ -3,12 +3,16 @@
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
nixgl = {
url = "github:nix-community/nixGL";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, nur, ... }@inputs:
outputs = { self, nixpkgs, home-manager, nur, nixgl, ... }@inputs:
let
stateVersion = "23.11";
@ -82,7 +86,10 @@ in {
};
homeConfigurations = {
rick = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.aarch64-linux;
pkgs = import nixpkgs {
system = "aarch64-linux";
overlays = [ nixgl.overlay ];
};
extraSpecialArgs = {
inherit stateVersion inputs;
hostname = "rick";