42 lines
1 KiB
Nix
42 lines
1 KiB
Nix
{
|
|
description = "My Home Manager configuration";
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/master";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nur.url = "github:nix-community/NUR";
|
|
nixgl = {
|
|
url = "github:nix-community/nixGL";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, nur, nixgl, ... }:
|
|
let
|
|
system = "aarch64-linux";
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
overlays = [
|
|
nur.overlays.default
|
|
nixgl.overlays.default
|
|
];
|
|
};
|
|
in {
|
|
homeConfigurations = {
|
|
sudoer777 = home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
extraSpecialArgs = {
|
|
inherit nixgl;
|
|
};
|
|
modules = [
|
|
./home.nix
|
|
({ ... }: {
|
|
nixpkgs.overlays = [ nur.overlays.default ];
|
|
})
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|