42 lines
1,010 B
Nix
42 lines
1,010 B
Nix
{
|
|
description = "Home Manager configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-24.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixgl = {
|
|
url = "github:nix-community/nixGL";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { ... }@inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
|
pkgs-unstable = pkgs;
|
|
nixgl = inputs.nixgl.packages.${system};
|
|
|
|
config = import ./config.nix;
|
|
in {
|
|
homeConfigurations.${config.username} = inputs.home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
|
|
extraSpecialArgs = {
|
|
inherit pkgs-unstable;
|
|
inherit (config) username variant;
|
|
inherit nixgl;
|
|
};
|
|
|
|
modules = [
|
|
./home.nix
|
|
{
|
|
home.packages = [ nixgl.nixGLIntel ];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|