Files
spacestation/flake.nix

59 lines
1.3 KiB
Nix
Raw Normal View History

{
inputs = {
2025-09-13 11:29:00 -03:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
2024-09-18 09:57:17 -03:00
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
2025-09-13 11:29:00 -03:00
url = "github:nix-community/home-manager/release-25.05";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
2025-04-01 10:06:41 -03:00
capytalcc = {
url = "git+https://forge.capytal.company/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 = {
url = "git+https://forge.capytal.company/guz013/keikos.work";
# inputs.nixpkgs.follows = "nixpkgs";
2024-09-18 09:58:09 -03:00
};
dot013-nix = {
2025-09-13 11:29:00 -03:00
url = "github:dot013/nix";
};
};
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
...
} @ inputs: {
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-16 20:08:29 -03:00
modules = [
inputs.home-manager.nixosModules.default
./configuration.nix
];
};
};
2025-09-13 11:29:00 -03:00
nixosModules = {
medama = ./modules/medama.nix;
};
2024-06-16 20:08:29 -03:00
};
}