nix-config/flake.nix

24 lines
634 B
Nix

{
description = "Elnu's NixOS configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixvim.url = "github:nix-community/nixvim";
apis.url = "git+https://git.elnu.com/jichan.org/apis.git";
home-manager = {
url = github:nix-community/home-manager;
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{ self, nixpkgs, home-manager, ... }:
let
user = "elnu";
configDir = "nix-config";
in {
nixosConfigurations = import ./hosts {
inherit (nixpkgs) lib;
inherit inputs nixpkgs home-manager user configDir;
};
};
}