2023-11-19 19:03:46 -08:00
|
|
|
{
|
|
|
|
|
description = "Home Manager configuration of pan";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
2024-03-16 11:12:22 -07:00
|
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
2024-04-08 23:19:54 -07:00
|
|
|
|
|
|
|
|
home-manager.url = "github:nix-community/home-manager";
|
2024-10-12 21:19:23 -07:00
|
|
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland";
|
2024-04-08 23:19:54 -07:00
|
|
|
hyprland-contrib.url = "github:hyprwm/contrib";
|
2024-02-16 21:32:55 -08:00
|
|
|
ags.url = "github:Aylur/ags";
|
2023-11-19 19:03:46 -08:00
|
|
|
};
|
|
|
|
|
|
2024-04-14 05:40:02 -07:00
|
|
|
outputs = { nixpkgs, home-manager, ... }@inputs:
|
|
|
|
|
let
|
2024-04-08 23:19:54 -07:00
|
|
|
system = "x86_64-linux";
|
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
2024-04-14 05:40:02 -07:00
|
|
|
defaultConfig = extraModules: home-manager.lib.homeManagerConfiguration {
|
2024-04-08 23:19:54 -07:00
|
|
|
inherit pkgs;
|
|
|
|
|
extraSpecialArgs = { inherit inputs; };
|
|
|
|
|
modules = [
|
2024-04-14 05:40:02 -07:00
|
|
|
./hmModules
|
|
|
|
|
] ++ extraModules;
|
2023-11-19 19:03:46 -08:00
|
|
|
};
|
2024-04-14 05:40:02 -07:00
|
|
|
in {
|
2024-10-12 21:19:23 -07:00
|
|
|
homeConfigurations."pan@onizuka" = defaultConfig [ ./systems/onizuka ];
|
|
|
|
|
homeConfigurations."pan@jibril" = defaultConfig [ ./systems/jibril ];
|
2024-04-08 23:19:54 -07:00
|
|
|
};
|
2023-11-19 19:03:46 -08:00
|
|
|
}
|