boxen/flake.nix

37 lines
885 B
Nix
Raw Normal View History

2021-05-24 08:33:02 +00:00
{
description = "A very basic flake";
inputs = {
nixos.url = "nixpkgs/nixos-unstable";
2021-05-24 09:23:07 +00:00
2021-05-24 08:33:02 +00:00
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixos";
2021-05-24 09:23:07 +00:00
nur.url = "github:nix-community/NUR";
2021-05-24 08:33:02 +00:00
};
2021-05-24 09:23:07 +00:00
outputs = { self, nixos, home-manager, nur }: {
2021-05-24 08:33:02 +00:00
nixosConfigurations = {
arianrhod = nixos.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
./hosts/arianrhod
./hosts/arianrhod/hardware.nix
./secrets/arianrhod.nix
home-manager.nixosModules.home-manager
2021-05-24 09:23:07 +00:00
{ nixpkgs.overlays = [ nur.overlay ]; }
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = false;
2021-05-24 09:23:07 +00:00
home-manager.users.jez = import ./home/jez/home.nix;
}
2021-05-24 08:33:02 +00:00
];
};
};
};
}