forked from extern/nix-config
255a819504
Now I don't have to wait for anything to be included in nixos-unstable and can simply merge whatever I want whenever I want. This also has the advantage of not having to specify which input is needed to get a package from.
40 lines
1.0 KiB
Nix
40 lines
1.0 KiB
Nix
{
|
|
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
|
|
];
|
|
};
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:donovanglover/nixpkgs/personal-unstable";
|
|
|
|
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";
|
|
};
|
|
|
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
|
};
|
|
}
|