mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
36 lines
866 B
Nix
36 lines
866 B
Nix
{
|
|
description = "An example NixOS configuration";
|
|
|
|
inputs = {
|
|
nixpkgs = { url = "github:nixos/nixpkgs/master"; };
|
|
nix-ld = {
|
|
url = "github:Mic92/nix-ld";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hyprland = {
|
|
url = "github:hyprwm/Hyprland";
|
|
# build with your own instance of nixpkgs
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
|
|
outputs = inputs:
|
|
{
|
|
nixosConfigurations = {
|
|
|
|
nixos-vm = inputs.nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./configuration.nix
|
|
./overlays.nix
|
|
./environment.nix
|
|
inputs.hyprland.nixosModules.default
|
|
{ programs.hyprland.enable = true; }
|
|
inputs.nix-ld.nixosModules.nix-ld
|
|
];
|
|
specialArgs = { inherit inputs; };
|
|
};
|
|
};
|
|
};
|
|
}
|