nix-dotfiles/flake.nix

29 lines
836 B
Nix
Raw Normal View History

2023-11-19 19:03:46 -08:00
{
description = "Home Manager configuration of pan";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
hyprland.url = "git+https://github.com/hyprwm/Hyprland";
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
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
2024-04-14 05:40:02 -07:00
defaultConfig = extraModules: home-manager.lib.homeManagerConfiguration {
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 {
homeConfigurations."pan@onizuka" = defaultConfig [ ./systems/onizuka ];
homeConfigurations."pan@jibril" = defaultConfig [ ./systems/jibril ];
};
2023-11-19 19:03:46 -08:00
}