desktop/flake.nix
2023-02-25 02:43:33 +05:30

31 lines
709 B
Nix

{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
illustris = {
url = "github:illustris/flake";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, illustris, ... }: {
nixosConfigurations = {
desktop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
home-manager.nixosModule
{nix.registry.np.flake = nixpkgs;}
{environment.etc.flake.source = self;}
{nixpkgs.overlays = [ illustris.overlays.default ];}
];
};
};
};
}