nix-dotfiles/flake.nix

35 lines
967 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";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
2024-05-26 17:42:47 -07:00
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";
2024-02-16 21:32:55 -08:00
ags.url = "github:Aylur/ags";
ags.inputs.nixpkgs.follows = "nixpkgs";
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 = defaultConfig [ ./systems/pan ];
};
2023-11-19 19:03:46 -08:00
}