dotfiles/home-nix/flake.nix

22 lines
573 B
Nix
Raw Normal View History

2022-11-06 20:23:10 +00:00
{
description = "simple home-manager config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {nixpkgs, home-manager, ...}:
let system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
homeConfigurations.nixos = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
2022-11-06 22:22:09 +00:00
modules = [./home.nix];
2022-11-06 20:23:10 +00:00
};
};
}