home-manager/flake.nix

35 lines
802 B
Nix
Raw Normal View History

2023-10-05 04:21:24 +00:00
{
description = "Home Manager configuration of tacocat";
inputs = {
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2023-10-10 01:35:30 +00:00
helix = {
url = "github:helix-editor/helix/master";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-10-05 04:21:24 +00:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
2023-10-13 16:11:33 +00:00
outputs = inputs: let
system = "x86_64-linux";
pkgs = inputs.nixpkgs.legacyPackages.${system};
in {
homeConfigurations."tacocat" = inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
2023-10-05 04:21:24 +00:00
2023-10-13 16:11:33 +00:00
modules = [
./home.nix
./shell
./programs
./helix
];
2023-10-05 04:21:24 +00:00
2023-10-13 16:11:33 +00:00
extraSpecialArgs = {inherit inputs system;};
2023-10-05 04:21:24 +00:00
};
2023-10-13 16:11:33 +00:00
};
2023-10-05 04:21:24 +00:00
}