Remove hydra jobs
This commit is contained in:
parent
8dfa9a8df7
commit
ca0ad1b6d6
116
flake.nix
116
flake.nix
@ -74,63 +74,61 @@
|
|||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
inputs:
|
inputs:
|
||||||
let
|
inputs.snowfall-lib.mkFlake {
|
||||||
snowfallOutputs = inputs.snowfall-lib.mkFlake {
|
inherit inputs;
|
||||||
inherit inputs;
|
# Must always be ./.
|
||||||
# Must always be ./.
|
src = ./.;
|
||||||
src = ./.;
|
|
||||||
|
|
||||||
# Add overlays for the `nixpkgs` channel.
|
# Add overlays for the `nixpkgs` channel.
|
||||||
overlays = with inputs; [
|
overlays = with inputs; [
|
||||||
nix-matlab.overlay
|
nix-matlab.overlay
|
||||||
nix-topology.overlays.default
|
nix-topology.overlays.default
|
||||||
];
|
];
|
||||||
|
|
||||||
snowfall = {
|
snowfall = {
|
||||||
# The root of the snowfall config
|
# The root of the snowfall config
|
||||||
root = ./.;
|
root = ./.;
|
||||||
# lib, package and overlay namespace
|
# lib, package and overlay namespace
|
||||||
namespace = "frajul"; # defaults to "internal"
|
namespace = "frajul"; # defaults to "internal"
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
name = "Julian's dotfiles";
|
name = "Julian's dotfiles";
|
||||||
title = "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-rs node configuration
|
||||||
deploy.nodes.pianonix = {
|
deploy.nodes.pianonix = {
|
||||||
hostname = "pianonix.local";
|
hostname = "pianonix.local";
|
||||||
@ -151,17 +149,5 @@
|
|||||||
remoteBuild = true;
|
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;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user