2023-09-29 23:46:34 -04:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2023-10-30 10:30:11 -04:00
|
|
|
|
|
|
|
# Temp fix https://github.com/nix-community/neovim-nightly-overlay/issues/332
|
|
|
|
nixpkgs-staging.url = "github:nixos/nixpkgs/staging";
|
2023-10-20 11:22:20 -04:00
|
|
|
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
|
2023-10-08 14:42:43 -04:00
|
|
|
nur.url = "github:nix-community/NUR";
|
2023-10-11 18:02:04 -04:00
|
|
|
|
2023-10-20 11:22:20 -04:00
|
|
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
|
|
|
|
2023-09-29 23:46:34 -04:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2023-10-20 10:20:12 -04:00
|
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
2023-10-11 18:02:04 -04:00
|
|
|
|
2023-09-29 23:46:34 -04:00
|
|
|
hyprgrass = {
|
|
|
|
url = "github:horriblename/hyprgrass";
|
|
|
|
inputs.hyprland.follows = "hyprland";
|
|
|
|
};
|
|
|
|
|
2023-10-11 18:02:04 -04:00
|
|
|
ags = {
|
2023-10-12 09:07:58 -04:00
|
|
|
url = "github:Aylur/ags";
|
2023-10-11 18:02:04 -04:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2023-10-30 10:30:11 -04:00
|
|
|
neovim-flake = {
|
2023-10-26 00:35:24 -04:00
|
|
|
url = "github:nix-community/neovim-nightly-overlay";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-10-11 18:03:15 -04:00
|
|
|
|
2023-10-20 12:12:37 -04:00
|
|
|
nh = {
|
|
|
|
url = "github:viperML/nh";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2023-10-11 18:03:15 -04:00
|
|
|
nix-melt = {
|
|
|
|
url = "github:nix-community/nix-melt";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-10-12 10:17:08 -04:00
|
|
|
|
|
|
|
nurl = {
|
|
|
|
url = "github:nix-community/nurl";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-10-28 18:20:09 -04:00
|
|
|
|
2023-10-26 20:47:49 -04:00
|
|
|
coc-stylelintplus = {
|
|
|
|
url = "github:matt1432/coc-stylelintplus";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-09-29 23:46:34 -04:00
|
|
|
};
|
|
|
|
|
2023-10-17 19:10:54 -04:00
|
|
|
outputs = { self, nixpkgs, home-manager, nur, nix-gaming, ... }@attrs: let
|
2023-10-15 13:30:21 -04:00
|
|
|
defaultModules = [
|
|
|
|
nur.nixosModules.nur
|
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.extraSpecialArgs = attrs;
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
./common/default.nix
|
|
|
|
];
|
|
|
|
in {
|
2023-10-15 23:12:19 -04:00
|
|
|
nixosConfigurations = {
|
|
|
|
wim = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = attrs;
|
2023-10-20 10:20:12 -04:00
|
|
|
modules = defaultModules ++ [
|
2023-10-28 18:20:09 -04:00
|
|
|
./devices/wim
|
2023-10-20 10:20:12 -04:00
|
|
|
];
|
2023-10-15 23:12:19 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
binto = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = attrs;
|
2023-10-20 10:20:12 -04:00
|
|
|
modules = defaultModules ++ [
|
2023-10-28 18:20:09 -04:00
|
|
|
./devices/binto
|
2023-10-20 10:20:12 -04:00
|
|
|
];
|
2023-10-15 23:12:19 -04:00
|
|
|
};
|
2023-09-29 23:46:34 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|