nix-config/flake.nix

27 lines
798 B
Nix
Raw Normal View History

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2023-05-09 04:16:27 +02:00
home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/Hyprland";
stylix.url = "github:danth/stylix";
2023-05-11 04:43:11 +02:00
stylix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, hyprland, stylix, ... }@attrs: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
modules = [
./configuration.nix
./home.nix
2023-05-16 23:22:00 +02:00
./home-manager
hyprland.nixosModules.default
2023-05-14 04:01:48 +02:00
{ programs.hyprland.enable = true; }
stylix.nixosModules.stylix
home-manager.nixosModules.home-manager
];
};
};
}