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-17 05:07:14 +02:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager/master";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
hyprland = {
|
|
|
|
url = "github:hyprwm/Hyprland";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
stylix = {
|
|
|
|
url = "github:danth/stylix";
|
2023-05-17 05:35:52 +02:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
|
|
|
home-manager.follows = "home-manager";
|
|
|
|
};
|
2023-05-17 05:07:14 +02:00
|
|
|
};
|
2023-05-19 11:40:10 +02:00
|
|
|
hypr-contrib = {
|
|
|
|
url = "github:hyprwm/contrib";
|
2023-05-23 18:27:49 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2023-05-19 11:40:10 +02:00
|
|
|
};
|
2023-05-31 16:17:17 +02:00
|
|
|
nix-gaming = {
|
|
|
|
url = "github:fufexan/nix-gaming";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-05-04 19:09:45 +02:00
|
|
|
};
|
|
|
|
|
2023-06-05 19:32:54 +02:00
|
|
|
outputs = { self, nixpkgs, home-manager, hyprland, stylix, nix-gaming, ... }@attrs: let
|
2023-06-06 00:48:55 +02:00
|
|
|
VARIABLES = import ./variables.nix;
|
2023-06-03 19:51:35 +02:00
|
|
|
in {
|
2023-06-06 00:51:07 +02:00
|
|
|
nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem {
|
|
|
|
system = VARIABLES.system;
|
2023-05-19 02:28:51 +02:00
|
|
|
specialArgs = attrs;
|
2023-05-04 19:09:45 +02:00
|
|
|
modules = [
|
2023-05-19 02:28:51 +02:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
hyprland.nixosModules.default
|
|
|
|
stylix.nixosModules.stylix
|
2023-05-31 16:17:17 +02:00
|
|
|
nix-gaming.nixosModules.pipewireLowLatency
|
2023-05-25 22:49:17 +02:00
|
|
|
./common.nix
|
2023-06-05 19:09:50 +02:00
|
|
|
./hardware-configuration.nix
|
2023-05-04 19:09:45 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|