2023-09-29 23:46:34 -04:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
|
|
|
hyprgrass = {
|
|
|
|
url = "github:horriblename/hyprgrass";
|
|
|
|
inputs.hyprland.follows = "hyprland";
|
|
|
|
};
|
|
|
|
|
|
|
|
ags.url = "github:Aylur/ags";
|
|
|
|
|
|
|
|
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@attrs: {
|
|
|
|
nixosConfigurations.wim = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = attrs;
|
|
|
|
modules = [
|
2023-10-03 11:27:11 -04:00
|
|
|
({ ... }: {
|
|
|
|
nix.registry = {
|
|
|
|
nixpkgs.flake = self.inputs.nixpkgs;
|
|
|
|
# Minimize dowloads of indirect nixpkgs flakes
|
|
|
|
nixpkgs.exact = false;
|
|
|
|
};
|
|
|
|
})
|
2023-09-29 23:46:34 -04:00
|
|
|
./configuration.nix
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.extraSpecialArgs = attrs;
|
2023-09-30 02:05:37 -04:00
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
2023-09-29 23:46:34 -04:00
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|