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