nix-dotfiles/flake.nix

35 lines
880 B
Nix
Raw Normal View History

2023-11-19 19:03:46 -08:00
{
description = "Home Manager configuration of pan";
inputs = {
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:langedev/nixpkgs/nixos-unstable";
2023-11-20 01:31:41 -08:00
2023-11-19 19:03:46 -08:00
home-manager = {
url = "github:langedev/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-11-20 01:31:41 -08:00
hyprland.url = "github:hyprwm/Hyprland";
hyprland-contrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-11-19 19:03:46 -08:00
};
outputs = { nixpkgs, home-manager, hyprland, ... }@inputs:
2023-11-19 19:03:46 -08:00
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
homeConfigurations."pan" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = { inherit inputs; };
2023-11-20 01:31:41 -08:00
modules = [
hyprland.homeManagerModules.default
./home.nix
];
2023-11-19 19:03:46 -08:00
};
};
}