{
description = "The nix flake for all my systems";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, neovim-nightly-overlay, ... }: let
system = "x86_64-linux";
lib = nixpkgs.lib;
overlays = [
neovim-nightly-overlay.overlay
];
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = overlays;
in {
nixosConfigurations = {
skynet = lib.nixosSystem {
modules = [ ./hosts/skynet/configuration.nix ];
homeConfigurations = {
relms = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./users/relms/home.nix ];
}