feat(home-manager): add nixgl
This commit is contained in:
parent
cf8a838191
commit
3d36ef0261
4 changed files with 76 additions and 16 deletions
11
flake.nix
11
flake.nix
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue