mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
38 lines
1002 B
Nix
38 lines
1002 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:donovanglover/nixpkgs/personal-unstable";
|
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/master";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
stylix = {
|
|
url = "github:danth/stylix";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
home-manager.follows = "home-manager";
|
|
};
|
|
};
|
|
|
|
hypr-contrib = {
|
|
url = "github:hyprwm/contrib";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, stylix, nix-gaming, ... } @ attrs: let VARIABLES = import ./src/variables.nix; in {
|
|
nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem {
|
|
system = VARIABLES.system;
|
|
specialArgs = attrs;
|
|
modules = [
|
|
home-manager.nixosModules.home-manager
|
|
stylix.nixosModules.stylix
|
|
nix-gaming.nixosModules.pipewireLowLatency
|
|
./src/main.nix
|
|
];
|
|
};
|
|
};
|
|
}
|