34 lines
967 B
Nix
34 lines
967 B
Nix
{
|
|
description = "Home Manager configuration of pan";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
|
hyprland.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
hyprland-contrib.url = "github:hyprwm/contrib";
|
|
hyprland-contrib.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
ags.url = "github:Aylur/ags";
|
|
ags.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, ... }@inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
defaultConfig = extraModules: home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
extraSpecialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hmModules
|
|
] ++ extraModules;
|
|
};
|
|
in {
|
|
homeConfigurations.pan = defaultConfig [ ./systems/pan ];
|
|
};
|
|
}
|