refactor(wpcarro): Prepare for restricted-eval

Change-Id: Ieb3b28d56ecd2819c3a7c08c22e33493d9e0be7f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5687
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
Vincent Ambo 2022-05-26 14:47:30 +02:00 committed by tazjin
parent d100c1f49f
commit 46d71fbff8
3 changed files with 5 additions and 5 deletions

View file

@ -36,7 +36,7 @@ wpcarro.terraform.googleCloudVM {
configuration = { configuration = {
imports = [ imports = [
"${depot.path}/ops/modules/quassel.nix" (depot.path.origSrc + "/ops/modules/quassel.nix")
]; ];
networking = { networking = {

View file

@ -16,8 +16,8 @@ let
in in
{ {
imports = [ imports = [
(depot.path + "/users/wpcarro/nixos/marcus/hardware.nix") (depot.path.origSrc + "/users/wpcarro/nixos/marcus/hardware.nix")
"${pkgs.home-manager.src}/nixos" (pkgs.home-manager.src + "/nixos")
]; ];
# Use the TVL binary cache # Use the TVL binary cache

View file

@ -5,7 +5,7 @@ let
inherit (depot.users) wpcarro; inherit (depot.users) wpcarro;
inherit (pkgs) writeText; inherit (pkgs) writeText;
images = import "${pkgs.path}/nixos/modules/virtualisation/gce-images.nix"; images = import (pkgs.path + "/nixos/modules/virtualisation/gce-images.nix");
nixosImage = images."20.09"; nixosImage = images."20.09";
in in
{ {
@ -31,7 +31,7 @@ in
os = depot.ops.nixos.nixosFor (_: { os = depot.ops.nixos.nixosFor (_: {
imports = [ imports = [
"${pkgs.path}/nixos/modules/virtualisation/google-compute-image.nix" (pkgs.path + "/nixos/modules/virtualisation/google-compute-image.nix")
configuration configuration
]; ];