nixos-configs/flake.nix

79 lines
1.8 KiB
Nix
Raw Normal View History

2023-09-29 23:46:34 -04:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
2023-10-08 14:42:43 -04:00
nur.url = "github:nix-community/NUR";
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-09-29 23:46:34 -04:00
hyprgrass = {
url = "github:horriblename/hyprgrass";
inputs.hyprland.follows = "hyprland";
};
ags = {
2023-10-12 09:07:58 -04:00
url = "github:Aylur/ags";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-10-26 00:35:24 -04:00
neovim-nightly-overlay = {
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-10-11 18:03:15 -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-09-29 23:46:34 -04:00
};
outputs = { self, nixpkgs, home-manager, nur, nix-gaming, ... }@attrs: let
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-20 00:01:19 -04:00
./hosts/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-20 00:01:19 -04:00
./hosts/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
};
};
}