nix/flake.nix

25 lines
707 B
Nix
Raw Normal View History

2023-08-14 07:11:18 -04:00
{
2023-08-14 07:45:15 -04:00
description = "mehbark's NixOS configuration";
2023-08-14 07:11:18 -04:00
2023-08-14 07:45:15 -04:00
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, ... }: {
2023-08-14 07:45:15 -04:00
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;
}
];
};
2023-08-14 07:18:25 -04:00
};
2023-08-14 07:45:15 -04:00
};
2023-08-14 07:11:18 -04:00
}