57 lines
1.7 KiB
Nix
57 lines
1.7 KiB
Nix
{
|
|
description = "This cLAN is for demonstration purposes.";
|
|
|
|
inputs.clan-core.url = "https://git.clan.lol/clan/clan-core/archive/main.zip";
|
|
inputs.nixos-shell.url = "github:Mic92/nixos-shell";
|
|
|
|
outputs =
|
|
{ self, clan-core, ... }@inputs:
|
|
|
|
let
|
|
nixpkgs = inputs.clan-core.inputs.nixpkgs;
|
|
systems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
];
|
|
forAllSystems = nixpkgs.lib.genAttrs systems;
|
|
in
|
|
{
|
|
inherit
|
|
(clan-core.lib.buildClan {
|
|
meta.name = "democlan";
|
|
directory = self;
|
|
|
|
machines =
|
|
(import ./default-vm/machines.nix { inherit inputs; })
|
|
// (import ./deltachat/machines.nix { inherit inputs; })
|
|
// (import ./install-demo/machines.nix { inherit inputs; })
|
|
// (import ./syncthing/machines.nix { inherit inputs; })
|
|
// (import ./localsend/machines.nix { inherit inputs; })
|
|
// (import ./localsend-wayland/machines.nix { inherit inputs; })
|
|
// (import ./moonlight/machines.nix { inherit inputs; })
|
|
// (import ./irc/machines.nix { inherit inputs; })
|
|
// (import ./irc-wayland/machines.nix { inherit inputs; })
|
|
// (import ./wayland/machines.nix { inherit inputs; });
|
|
})
|
|
clanInternals
|
|
nixosConfigurations
|
|
;
|
|
|
|
devShells = forAllSystems (
|
|
system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
default = pkgs.mkShellNoCC {
|
|
packages = [
|
|
inputs.clan-core.packages.${system}.clan-cli
|
|
pkgs.nixos-shell
|
|
pkgs.nix
|
|
];
|
|
};
|
|
}
|
|
);
|
|
};
|
|
}
|