oizys/flake.nix

37 lines
866 B
Nix
Raw Normal View History

2020-10-24 22:55:15 -05:00
{
description = "An example NixOS configuration";
inputs = {
2022-11-04 08:02:24 -05:00
nixpkgs = { url = "github:nixos/nixpkgs/master"; };
2022-11-03 18:24:52 -05:00
nix-ld = {
url = "github:Mic92/nix-ld";
inputs.nixpkgs.follows = "nixpkgs";
};
2022-11-21 15:12:09 -06:00
hyprland = {
url = "github:hyprwm/Hyprland";
# build with your own instance of nixpkgs
inputs.nixpkgs.follows = "nixpkgs";
};
};
2020-10-24 22:55:15 -05:00
2022-11-03 18:24:52 -05:00
outputs = inputs:
2022-11-03 18:24:52 -05:00
{
nixosConfigurations = {
2022-11-13 16:00:48 -06:00
nixos-vm = inputs.nixpkgs.lib.nixosSystem {
2022-11-03 18:24:52 -05:00
system = "x86_64-linux";
modules = [
./configuration.nix
2022-11-21 13:09:53 -06:00
./overlays.nix
2022-11-21 15:12:09 -06:00
./environment.nix
inputs.hyprland.nixosModules.default
{ programs.hyprland.enable = true; }
inputs.nix-ld.nixosModules.nix-ld
2022-11-03 18:24:52 -05:00
];
specialArgs = { inherit inputs; };
};
2020-10-24 22:55:15 -05:00
};
};
}