Files
spacestation/flake.nix
Gustavo "Guz" L de Mello 470d719f80 feat(capytal,gitea)!: migrate from https://forge.capytal.company to https://code.capytal.cc
A new forge is now used, it is pretty much equal to before, but now we
are using (a fork of) Gitea instead of Forgejo. Gitea was choosen
because provides more features that we need compared to Forgejo and it
has a more modern codebase to fork and customize. The fork can be found
at https://code.capytal.cc/loreddev/gitea, it mostly provides a new
default theme and custom UI changes.
2025-10-11 09:21:21 -03:00

64 lines
1.5 KiB
Nix

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-25.05";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
capytalcc = {
url = "git+https://code.capytal.cc/capytal/capytal.cc";
inputs.nixpkgs.follows = "nixpkgs";
};
keikoswork = {
url = "git+https://code.capytal.cc/guz013/keikos.work";
# inputs.nixpkgs.follows = "nixpkgs";
};
loreddev-gitea = {
url = "git+https://code.capytal.cc/loreddev/gitea";
};
dot013-nix = {
url = "github:dot013/nix";
};
};
outputs = {
self,
nixpkgs,
home-manager,
nixpkgs-unstable,
...
} @ inputs: {
nixosConfigurations = {
spacestation = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = {
pkgs-unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
config.allowUnfreePredicate = _: true;
};
inherit inputs self;
};
modules = [
inputs.home-manager.nixosModules.default
./configuration.nix
];
};
};
nixosModules = {
medama = ./modules/medama.nix;
gitea = ./modules/gitea.nix;
};
};
}