Archived
0
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
flake/flake.nix

36 lines
973 B
Nix
Raw Normal View History

2022-12-21 06:27:41 +00:00
{
description = "The nix flake for all my systems";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2022-12-28 08:22:43 +00:00
neovim.url = "github:neovim/neovim?dir=contrib";
neovim.inputs.nixpkgs.follows = "nixpkgs";
neovim.inputs.flake-utils.follows = "utils";
2022-12-21 06:27:41 +00:00
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
2022-12-28 08:22:43 +00:00
nur.url = "github:nix-community/NUR";
utils.url = "github:gytis-ivaskevicius/flake-utils-plus";
2022-12-21 06:27:41 +00:00
};
2022-12-28 08:22:43 +00:00
outputs = inputs@{ self, nixpkgs, utils, home-manager, neovim, nur, ... }: utils.lib.mkFlake {
inherit self inputs;
hostDefaults.system = "x86_64-linux";
hosts.skynet.modules = [ ./hosts/skynet/configuration.nix ];
homeConfigurations.relms = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [nur.overlay (utils.lib.genPkgOverlay neovim "neovim")];
2022-12-21 06:27:41 +00:00
};
2022-12-28 08:22:43 +00:00
modules = [
./users/relms/home.nix
];
2022-12-21 06:27:41 +00:00
};
2022-12-23 04:53:32 +00:00
};
2022-12-21 06:27:41 +00:00
}