flake add hydraJobs

This commit is contained in:
Kabbone 2024-05-05 20:09:02 +02:00
parent d95cca9908
commit 32133438d9
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -63,7 +63,6 @@
};
outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, home-manager-unstable, nur, agenix, jovian-nixos, microvm, impermanence, lanzaboote, nixvim, ... }: # Function that tells my flake which to use and what do what to do with the dependencies.
rec {
let # Variables that can be used in the config files
user = "kabbone";
userdmz = "diablo";
@ -71,10 +70,6 @@
location = "$HOME/.setup";
in # Use above variables in ...
{
hydraJobs = {
steamdeck = nixosConfigurations.steamdeck.config.system.build.toplevel;
};
nixosConfigurations = ( # NixOS configurations
import ./hosts { # Imports ./hosts/default.nix
inherit (nixpkgs) lib;
@ -83,6 +78,9 @@
security.sudo.execWheelOnly = true;
}
);
};
hydraJobs = {
steamdeck = nixosConfigurations.steamdeck.config.system.build.toplevel;
};
};
}