2023-09-29 23:46:34 -04:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2023-10-30 10:30:11 -04:00
|
|
|
|
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-11-20 12:16:13 -05:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
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";
|
2023-11-19 15:09:57 -05:00
|
|
|
# to make sure plugins and nvim have same binaries
|
2023-10-26 00:35:24 -04:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-11-26 01:15:55 -05:00
|
|
|
coc-stylelintplus-flake = {
|
2023-10-26 20:47:49 -04:00
|
|
|
url = "github:matt1432/coc-stylelintplus";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-11-26 01:15:55 -05:00
|
|
|
tree-sitter-hypr-flake = {
|
2023-11-26 02:11:49 -05:00
|
|
|
url = "github:luckasRanarison/tree-sitter-hypr";
|
2023-11-25 23:55:08 -05:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-11-19 15:09:57 -05:00
|
|
|
|
|
|
|
nh.url = "github:viperML/nh";
|
|
|
|
nix-melt.url = "github:nix-community/nix-melt";
|
|
|
|
nurl.url = "github:nix-community/nurl";
|
2023-11-22 14:36:42 -05:00
|
|
|
|
|
|
|
nix-index-database = {
|
|
|
|
url = "github:Mic92/nix-index-database";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-09-29 23:46:34 -04:00
|
|
|
};
|
|
|
|
|
2023-11-22 15:33:16 -05:00
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
home-manager,
|
|
|
|
nix-gaming,
|
|
|
|
nixpkgs,
|
|
|
|
nur,
|
|
|
|
...
|
|
|
|
} @ attrs: let
|
2023-10-15 13:30:21 -04:00
|
|
|
defaultModules = [
|
|
|
|
nur.nixosModules.nur
|
|
|
|
|
2023-11-22 15:33:16 -05:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
2023-10-15 13:30:21 -04:00
|
|
|
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-11-22 15:33:16 -05:00
|
|
|
modules =
|
|
|
|
defaultModules
|
|
|
|
++ [
|
|
|
|
./devices/wim
|
|
|
|
];
|
2023-10-15 23:12:19 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
binto = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = attrs;
|
2023-11-22 15:33:16 -05:00
|
|
|
modules =
|
|
|
|
defaultModules
|
|
|
|
++ [
|
|
|
|
./devices/binto
|
|
|
|
];
|
2023-10-15 23:12:19 -04:00
|
|
|
};
|
2023-09-29 23:46:34 -04:00
|
|
|
};
|
2023-11-22 15:33:16 -05:00
|
|
|
|
|
|
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
|
|
|
formatter.aarch64-linux = nixpkgs.legacyPackages.aarch64-linux.alejandra;
|
2023-09-29 23:46:34 -04:00
|
|
|
};
|
|
|
|
}
|