dotfiles/flake.nix

37 lines
750 B
Nix
Raw Normal View History

2023-08-05 18:44:35 -07:00
{
description = "System Configuration Flake";
inputs = {
nixpkgs = {
2023-08-05 21:03:24 -07:00
url = "github:NixOS/nixpkgs/nixos-unstable";
2023-08-05 18:44:35 -07:00
};
2023-08-05 21:03:24 -07:00
home-manager-unstable = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
hyprland.url = "github:hyprwm/Hyprland";
2023-08-05 18:44:35 -07:00
};
2023-08-05 21:03:24 -07:00
outputs = {
self,
nixpkgs,
home-manager-unstable,
hyprland
}: {
2023-08-05 18:44:35 -07:00
nixosConfigurations = {
stitchynyan = nixpkgs.lib.nixosSystem {
2023-08-05 21:03:24 -07:00
system = "x86_64-linux";
2023-08-05 18:44:35 -07:00
modules = [
./configuration.nix
2023-08-05 21:03:24 -07:00
home-manager-unstable.nixosModules.home-manager
hyprland.homeManagerModules.default
{wayland.windowManager.hyprland.enable = true;}
2023-08-05 18:44:35 -07:00
];
};
};
};
}