nix-conf/flake.nix

56 lines
1.3 KiB
Nix
Raw Permalink Normal View History

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-04-22 05:58:04 +00:00
master.url = "github:akr2002/nixpkgs/master";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-09-11 04:07:54 +00:00
monitor = {
url = "github:akr2002/monitor";
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-09-16 04:05:27 +00:00
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-07-28 15:50:44 +00:00
neve = {
2024-09-10 14:30:20 +00:00
url = "github:redyf/neve";
2024-07-28 15:50:44 +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;};
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
inputs.home-manager.nixosModules.default
];
};
};
}