2024-06-15 18:29:36 -03:00
|
|
|
{
|
|
|
|
|
inputs = {
|
2026-01-01 19:28:17 -03:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
2024-09-18 09:57:17 -03:00
|
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
2024-06-15 18:29:36 -03:00
|
|
|
|
|
|
|
|
home-manager = {
|
2026-01-01 19:28:17 -03:00
|
|
|
url = "github:nix-community/home-manager/release-25.11";
|
2024-06-15 18:29:36 -03:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
sops-nix = {
|
|
|
|
|
url = "github:Mic92/sops-nix";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
2025-04-01 10:06:41 -03:00
|
|
|
capytalcc = {
|
2025-10-11 09:21:21 -03:00
|
|
|
url = "git+https://code.capytal.cc/capytal/capytal.cc";
|
2025-09-13 11:29:00 -03:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2025-04-01 10:06:41 -03:00
|
|
|
};
|
|
|
|
|
|
2024-12-17 21:04:04 -03:00
|
|
|
keikoswork = {
|
2025-10-11 09:21:21 -03:00
|
|
|
url = "git+https://code.capytal.cc/guz013/keikos.work";
|
2024-12-17 21:04:04 -03:00
|
|
|
# inputs.nixpkgs.follows = "nixpkgs";
|
2024-09-18 09:58:09 -03:00
|
|
|
};
|
2025-04-01 10:06:13 -03:00
|
|
|
|
2025-10-11 09:21:21 -03:00
|
|
|
loreddev-gitea = {
|
|
|
|
|
url = "git+https://code.capytal.cc/loreddev/gitea";
|
|
|
|
|
};
|
|
|
|
|
|
2025-04-01 10:06:13 -03:00
|
|
|
dot013-nix = {
|
2025-09-13 11:29:00 -03:00
|
|
|
url = "github:dot013/nix";
|
2025-04-01 10:06:13 -03:00
|
|
|
};
|
2026-01-01 19:28:17 -03:00
|
|
|
|
|
|
|
|
# tangled = {
|
|
|
|
|
# url = "git+https://tangled.org/tangled.org/core";
|
|
|
|
|
# };
|
2024-06-15 18:29:36 -03:00
|
|
|
};
|
2024-06-16 20:08:29 -03:00
|
|
|
outputs = {
|
2025-09-13 11:29:00 -03:00
|
|
|
self,
|
2024-06-16 20:08:29 -03:00
|
|
|
nixpkgs,
|
|
|
|
|
home-manager,
|
2024-09-18 09:57:17 -03:00
|
|
|
nixpkgs-unstable,
|
2024-06-16 20:08:29 -03:00
|
|
|
...
|
2026-01-01 19:28:17 -03:00
|
|
|
} @ inputs: let
|
|
|
|
|
systems = [
|
|
|
|
|
"x86_64-linux"
|
|
|
|
|
"aarch64-linux"
|
|
|
|
|
"x86_64-darwin"
|
|
|
|
|
"aarch64-darwin"
|
|
|
|
|
];
|
|
|
|
|
forAllSystems = f:
|
|
|
|
|
nixpkgs.lib.genAttrs systems (
|
|
|
|
|
system: let
|
|
|
|
|
pkgs = import nixpkgs {inherit system;};
|
|
|
|
|
in
|
|
|
|
|
f {
|
|
|
|
|
inherit pkgs;
|
|
|
|
|
inherit (pkgs) lib;
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
in {
|
2025-09-13 11:29:00 -03:00
|
|
|
nixosConfigurations = {
|
|
|
|
|
spacestation = nixpkgs.lib.nixosSystem rec {
|
2024-09-18 09:57:17 -03:00
|
|
|
system = "x86_64-linux";
|
2024-06-16 20:08:29 -03:00
|
|
|
specialArgs = {
|
2025-09-13 11:29:00 -03:00
|
|
|
pkgs-unstable = import nixpkgs-unstable {
|
|
|
|
|
inherit system;
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
|
config.allowUnfreePredicate = _: true;
|
|
|
|
|
};
|
|
|
|
|
inherit inputs self;
|
2024-06-15 18:29:36 -03:00
|
|
|
};
|
2024-06-16 20:08:29 -03:00
|
|
|
modules = [
|
|
|
|
|
inputs.home-manager.nixosModules.default
|
|
|
|
|
./configuration.nix
|
|
|
|
|
];
|
2024-06-15 18:29:36 -03:00
|
|
|
};
|
|
|
|
|
};
|
2025-09-13 11:29:00 -03:00
|
|
|
nixosModules = {
|
|
|
|
|
medama = ./modules/medama.nix;
|
2025-10-09 21:55:12 -03:00
|
|
|
gitea = ./modules/gitea.nix;
|
2025-09-13 11:29:00 -03:00
|
|
|
};
|
2024-06-16 20:08:29 -03:00
|
|
|
};
|
2024-06-15 18:29:36 -03:00
|
|
|
}
|