Remove hydra jobs

This commit is contained in:
Julian Mutter 2025-02-28 18:24:42 +01:00
parent 8dfa9a8df7
commit ca0ad1b6d6

116
flake.nix
View File

@ -74,63 +74,61 @@
outputs =
inputs:
let
snowfallOutputs = inputs.snowfall-lib.mkFlake {
inherit inputs;
# Must always be ./.
src = ./.;
inputs.snowfall-lib.mkFlake {
inherit inputs;
# Must always be ./.
src = ./.;
# Add overlays for the `nixpkgs` channel.
overlays = with inputs; [
nix-matlab.overlay
nix-topology.overlays.default
];
# Add overlays for the `nixpkgs` channel.
overlays = with inputs; [
nix-matlab.overlay
nix-topology.overlays.default
];
snowfall = {
# The root of the snowfall config
root = ./.;
# lib, package and overlay namespace
namespace = "frajul"; # defaults to "internal"
snowfall = {
# The root of the snowfall config
root = ./.;
# lib, package and overlay namespace
namespace = "frajul"; # defaults to "internal"
meta = {
name = "Julian's dotfiles";
title = "Julian's dotfiles";
};
meta = {
name = "Julian's dotfiles";
title = "Julian's dotfiles";
};
# The attribute set specified here will be passed directly to NixPkgs when
# instantiating the package set.
channels-config = {
# Allow unfree packages.
allowUnfree = true;
nvidia.acceptLicense = true;
# Allow certain insecure packages
permittedInsecurePackages = [ "olm-3.2.16" ];
};
systems.modules.nixos = with inputs; [
nix-topology.nixosModules.default
sops-nix.nixosModules.sops
disko.nixosModules.disko
];
systems.hosts.pianonix.modules = with inputs; [ nixos-hardware.nixosModules.raspberry-pi-4 ];
# topology =
# with inputs;
# let
# host = self.nixosConfigurations.${builtins.head (builtins.attrNames self.nixosConfigurations)};
# in
# import nix-topology {
# inherit (host) pkgs; # Only this package set must include nix-topology.overlays.default
# modules = [
# (import ./topology { inherit (host) config; })
# { inherit (self) nixosConfigurations; }
# ];
# };
};
in
{
# The attribute set specified here will be passed directly to NixPkgs when
# instantiating the package set.
channels-config = {
# Allow unfree packages.
allowUnfree = true;
nvidia.acceptLicense = true;
# Allow certain insecure packages
permittedInsecurePackages = [ "olm-3.2.16" ];
};
systems.modules.nixos = with inputs; [
nix-topology.nixosModules.default
sops-nix.nixosModules.sops
disko.nixosModules.disko
];
systems.hosts.pianonix.modules = with inputs; [ nixos-hardware.nixosModules.raspberry-pi-4 ];
# topology =
# with inputs;
# let
# host = self.nixosConfigurations.${builtins.head (builtins.attrNames self.nixosConfigurations)};
# in
# import nix-topology {
# inherit (host) pkgs; # Only this package set must include nix-topology.overlays.default
# modules = [
# (import ./topology { inherit (host) config; })
# { inherit (self) nixosConfigurations; }
# ];
# };
}
// {
# deploy-rs node configuration
deploy.nodes.pianonix = {
hostname = "pianonix.local";
@ -151,17 +149,5 @@
remoteBuild = true;
};
};
hydraJobs = {
x86_64-linux = {
aspi = snowfallOutputs.nixosConfigurations.aspi.config.system.build.toplevel;
builder = snowfallOutputs.nixosConfigurations.builder.config.system.build.toplevel;
kardorf = snowfallOutputs.nixosConfigurations.kardorf.config.system.build.toplevel;
};
aarch64-linux = {
pianonix = snowfallOutputs.nixosConfigurations.pianonix.config.system.build.toplevel;
};
};
}
// snowfallOutputs;
};
}