From ff266458cce4fa6187096c96b5c3c4478e63b2c7 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Mon, 20 May 2024 10:45:14 +0200 Subject: [PATCH] test hydra jobs --- flake.nix | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/flake.nix b/flake.nix index f4b09c4..9d2575a 100644 --- a/flake.nix +++ b/flake.nix @@ -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. - let # Variables that can be used in the config files - user = "kabbone"; - userdmz = "diablo"; - userserver = "mephisto"; - location = "$HOME/.setup"; - in # Use above variables in ... - { - nixosConfigurations = ( # NixOS configurations - import ./hosts { # Imports ./hosts/default.nix - inherit (nixpkgs) lib; - 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. - nix.allowedUsers = [ "@wheel" ]; - security.sudo.execWheelOnly = true; - } - ); - hydraJobs."steamdeck" = nixosConfigurations.steamdeck.config.system.build.toplevel; + rec { + let # Variables that can be used in the config files + user = "kabbone"; + userdmz = "diablo"; + userserver = "mephisto"; + location = "$HOME/.setup"; + in # Use above variables in ... + { + nixosConfigurations = ( # NixOS configurations + import ./hosts { # Imports ./hosts/default.nix + inherit (nixpkgs) lib; + 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. + nix.allowedUsers = [ "@wheel" ]; + security.sudo.execWheelOnly = true; + } + ); + hydraJobs."steamdeck" = nixosConfigurations.steamdeck.config.system.build.toplevel; + }; };