test hydra jobs

This commit is contained in:
Kabbone 2024-05-20 10:45:14 +02:00
parent 8b319073bf
commit ff266458cc
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -54,22 +54,24 @@
}; };
outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, home-manager-unstable, agenix, jovian-nixos, microvm, impermanence, lanzaboote, nixvim, ... }: # Function that tells my flake which to use and what do what to do with the dependencies. outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, home-manager-unstable, agenix, jovian-nixos, microvm, impermanence, lanzaboote, nixvim, ... }: # Function that tells my flake which to use and what do what to do with the dependencies.
let # Variables that can be used in the config files rec {
user = "kabbone"; let # Variables that can be used in the config files
userdmz = "diablo"; user = "kabbone";
userserver = "mephisto"; userdmz = "diablo";
location = "$HOME/.setup"; userserver = "mephisto";
in # Use above variables in ... location = "$HOME/.setup";
{ in # Use above variables in ...
nixosConfigurations = ( # NixOS configurations {
import ./hosts { # Imports ./hosts/default.nix nixosConfigurations = ( # NixOS configurations
inherit (nixpkgs) lib; import ./hosts { # Imports ./hosts/default.nix
inherit inputs nixpkgs nixpkgs-unstable nixos-hardware home-manager home-manager-unstable user userdmz userserver location agenix jovian-nixos microvm impermanence lanzaboote nixvim; # Also inherit home-manager so it does not need to be defined here. inherit (nixpkgs) lib;
nix.allowedUsers = [ "@wheel" ]; inherit inputs nixpkgs nixpkgs-unstable nixos-hardware home-manager home-manager-unstable user userdmz userserver location agenix jovian-nixos microvm impermanence lanzaboote nixvim; # Also inherit home-manager so it does not need to be defined here.
security.sudo.execWheelOnly = true; nix.allowedUsers = [ "@wheel" ];
} security.sudo.execWheelOnly = true;
); }
hydraJobs."steamdeck" = nixosConfigurations.steamdeck.config.system.build.toplevel; );
hydraJobs."steamdeck" = nixosConfigurations.steamdeck.config.system.build.toplevel;
};
}; };