nix/flake.nix
2023-08-14 07:45:15 -04:00

25 lines
702 B
Nix

{
description = "mehbark's NixOS configuration";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
inputs.home-manager.url = "github:nix-community/home-manager";
inputs.home-manager.inputs.nixpkgs.follows = "nixpkgs";
outputs = inputs@{ self, nixpkgs, home-manager }: {
nixosConfigurations = {
nix = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.mbk = import ./home.nix;
}
];
};
};
};
}