2024-06-07 13:49:42 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2024-11-12 23:44:38 +01:00
|
|
|
snowfall-lib.url = "github:snowfallorg/lib";
|
|
|
|
snowfall-lib.inputs.nixpkgs.follows = "nixpkgs";
|
2024-09-06 17:05:12 +02:00
|
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
2024-09-06 17:06:54 +02:00
|
|
|
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
2024-11-12 23:44:38 +01:00
|
|
|
lix-module.url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-1.tar.gz";
|
|
|
|
lix-module.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
|
|
|
nix-minecraft.inputs.nixpkgs.follows = "nixpkgs";
|
2024-06-07 13:49:42 +02:00
|
|
|
};
|
|
|
|
|
2024-11-12 23:44:38 +01:00
|
|
|
outputs = inputs: inputs.snowfall-lib.mkFlake {
|
|
|
|
inherit inputs;
|
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
channels-config.allowUnfree = false;
|
|
|
|
|
|
|
|
nix.gc = {
|
|
|
|
automatic = true;
|
|
|
|
options = "--delete-older-than 30d";
|
2024-06-07 13:49:42 +02:00
|
|
|
};
|
2024-11-12 23:44:38 +01:00
|
|
|
nix.optimise.automatic = true;
|
|
|
|
|
2024-11-14 01:42:17 +01:00
|
|
|
# Modules for Host voloxo
|
2024-11-12 23:44:38 +01:00
|
|
|
systems.hosts.voloxo.modules = with inputs; [
|
|
|
|
];
|
|
|
|
|
2024-11-14 01:42:17 +01:00
|
|
|
# Modules for Host kb-games-01
|
|
|
|
systems.hosts.kb-games-01.modules = with inputs; [
|
|
|
|
];
|
|
|
|
|
2024-11-12 23:44:38 +01:00
|
|
|
# Modules that get imported to every NixOS system
|
|
|
|
systems.modules.nixos = with inputs; [
|
|
|
|
lix-module.nixosModules.default
|
|
|
|
];
|
|
|
|
|
|
|
|
outputs-builder = channels: { formatter = channels.nixpkgs.nixfmt-rfc-style; };
|
|
|
|
|
|
|
|
};
|
2024-06-07 13:49:42 +02:00
|
|
|
}
|
|
|
|
|