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

37 lines
900 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";
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
2022-12-23 04:53:32 +00:00
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 {
2022-12-21 06:27:41 +00:00
inherit system;
2022-12-23 04:53:32 +00:00
modules = [ ./hosts/skynet/configuration.nix ];
2022-12-21 06:27:41 +00:00
};
2022-12-23 04:53:32 +00:00
};
homeConfigurations = {
relms = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
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
}