nix/flake.nix
2023-05-14 13:06:56 -05:00

25 lines
667 B
Nix
Executable file

{
description = "Home Manager && NixOS configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nvim = {
url = "github:iofq/nvim.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, nixos-hardware, ... } @inputs:
let
username = "e";
in {
nixosConfigurations = ( import ./nixos { inherit inputs; } );
homeConfigurations = (
import ./home { inherit inputs; }
);
};
}