2024-02-17 09:54:55 +00:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2024-04-22 05:58:04 +00:00
|
|
|
master.url = "github:akr2002/nixpkgs/master";
|
2024-02-17 09:54:55 +00:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager/master";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-07-28 07:50:46 +00:00
|
|
|
#nv = {
|
|
|
|
# url = "github:akr2002/nv";
|
|
|
|
# inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
#};
|
2024-04-02 04:04:39 +00:00
|
|
|
nyaa = {
|
|
|
|
url = "github:akr2002/nyaa";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-07-28 15:50:44 +00:00
|
|
|
neve = {
|
|
|
|
url = "github:akr2002/neve";
|
|
|
|
};
|
2024-02-17 09:54:55 +00:00
|
|
|
};
|
|
|
|
|
2024-04-02 04:04:39 +00:00
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
...
|
|
|
|
} @ inputs: let
|
2024-04-22 05:58:04 +00:00
|
|
|
inherit (self) outputs;
|
|
|
|
systems = [
|
|
|
|
"aarch64-linux"
|
|
|
|
"i686-linux"
|
|
|
|
"x86_64-linux"
|
|
|
|
"aarch64-darwin"
|
|
|
|
"x86_64-darwin"
|
|
|
|
];
|
|
|
|
forAllSystems = nixpkgs.lib.genAttrs systems;
|
2024-04-02 04:04:39 +00:00
|
|
|
in {
|
2024-04-22 05:58:04 +00:00
|
|
|
overlays = import ./overlays {inherit inputs;};
|
|
|
|
|
2024-02-17 09:54:55 +00:00
|
|
|
nixosConfigurations.bridge = nixpkgs.lib.nixosSystem {
|
2024-04-22 05:58:04 +00:00
|
|
|
specialArgs = {inherit inputs outputs;};
|
2024-04-02 04:04:39 +00:00
|
|
|
modules = [
|
2024-04-11 06:22:21 +00:00
|
|
|
./hosts/default/configuration.nix
|
2024-02-17 09:54:55 +00:00
|
|
|
inputs.home-manager.nixosModules.default
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|