nixos-configs/flake.nix

69 lines
1.6 KiB
Nix
Raw Normal View History

2023-09-29 23:46:34 -04:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2023-10-08 14:42:43 -04:00
nur.url = "github:nix-community/NUR";
2023-09-29 23:46:34 -04:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs";
};
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-11 21:34:17 -04:00
nixpkgs-wayland = {
url = "github:nix-community/nixpkgs-wayland";
inputs.nixpkgs.follows = "nixpkgs";
};
neovim-nightly-overlay = {
url = "github:nix-community/neovim-nightly-overlay";
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, ... }@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-09-29 23:46:34 -04:00
nixosConfigurations.wim = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
modules = [
./hosts/wim/configuration.nix
] ++ defaultModules;
2023-09-29 23:46:34 -04:00
};
};
}