2023-05-04 19:09:45 +02:00
|
|
|
{
|
2023-06-11 15:42:16 +02:00
|
|
|
outputs = { self, nixpkgs, home-manager, hyprland, stylix, nix-gaming, crystal-flake, ... } @ attrs:
|
|
|
|
let VARIABLES = import ./src/variables.nix; in {
|
2023-06-11 15:33:54 +02:00
|
|
|
formatter."${VARIABLES.system}" = nixpkgs.legacyPackages."${VARIABLES.system}".alejandra;
|
2023-06-06 16:17:15 +02:00
|
|
|
|
2023-06-11 15:33:54 +02:00
|
|
|
nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem {
|
|
|
|
system = VARIABLES.system;
|
|
|
|
specialArgs = attrs;
|
|
|
|
modules = [
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
hyprland.nixosModules.default
|
|
|
|
stylix.nixosModules.stylix
|
|
|
|
nix-gaming.nixosModules.pipewireLowLatency
|
|
|
|
./src/main.nix
|
|
|
|
];
|
|
|
|
};
|
2023-06-06 01:26:46 +02:00
|
|
|
};
|
|
|
|
|
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-06-09 00:18:11 +02:00
|
|
|
nixpkgs-hyprland-autoname-workspaces.url = "github:donovanglover/nixpkgs/hyprland-autoname-workspaces";
|
2023-06-09 00:30:11 +02:00
|
|
|
nixpkgs-srb2.url = "github:donovanglover/nixpkgs/srb2";
|
2023-06-06 01:26:46 +02:00
|
|
|
|
2023-05-17 05:07:14 +02:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager/master";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-06-06 01:26:46 +02:00
|
|
|
|
2023-05-17 05:07:14 +02:00
|
|
|
hyprland = {
|
|
|
|
url = "github:hyprwm/Hyprland";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-06-06 01:26:46 +02:00
|
|
|
|
2023-05-17 05:07:14 +02:00
|
|
|
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-06-06 01:26:46 +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-06-06 01:26:46 +02:00
|
|
|
|
2023-05-31 16:17:17 +02:00
|
|
|
nix-gaming = {
|
|
|
|
url = "github:fufexan/nix-gaming";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-06-08 21:13:38 +02:00
|
|
|
|
|
|
|
crystal-flake = {
|
|
|
|
url = "github:manveru/crystal-flake";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-05-04 19:09:45 +02:00
|
|
|
};
|
|
|
|
}
|