mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
depot -> meta for specialArgs, whee
This commit is contained in:
parent
43d5814348
commit
a5670724da
15 changed files with 28 additions and 29 deletions
|
|
@ -39,8 +39,7 @@ let
|
||||||
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit sources;
|
inherit sources;
|
||||||
inherit depot;
|
} // depot;
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# The evaluated meta config.
|
# The evaluated meta config.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ depot, lib, config, ... }: with lib; {
|
{ profiles, lib, config, ... }: with lib; {
|
||||||
config = {
|
config = {
|
||||||
deploy.targets.infra = {
|
deploy.targets.infra = {
|
||||||
tf = {
|
tf = {
|
||||||
|
|
@ -15,7 +15,7 @@ config = {
|
||||||
network.nodes.athame = {
|
network.nodes.athame = {
|
||||||
imports = lib.hostImport {
|
imports = lib.hostImport {
|
||||||
hostName = "athame";
|
hostName = "athame";
|
||||||
inherit (depot) profiles;
|
inherit profiles;
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "athame";
|
hostName = "athame";
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
{ depot, config, lib, pkgs, ... }:
|
{ meta, config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
{
|
{
|
||||||
# Imports
|
# Imports
|
||||||
|
|
||||||
imports = with depot; [
|
imports = with meta; [
|
||||||
profiles.hardware.hcloud-imperative
|
profiles.hardware.hcloud-imperative
|
||||||
users.kat.server
|
users.kat.server
|
||||||
services.fail2ban
|
services.fail2ban
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, depot, ... }: with lib; {
|
{ profiles, config, lib, ... }: with lib; {
|
||||||
config = {
|
config = {
|
||||||
deploy.targets.beltane = {
|
deploy.targets.beltane = {
|
||||||
tf = {
|
tf = {
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
network.nodes.beltane = {
|
network.nodes.beltane = {
|
||||||
imports = lib.hostImport {
|
imports = lib.hostImport {
|
||||||
hostName = "beltane";
|
hostName = "beltane";
|
||||||
inherit (depot) profiles;
|
inherit profiles;
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "beltane";
|
hostName = "beltane";
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
{ depot, tf, config, pkgs, lib, ... }:
|
{ meta, tf, config, pkgs, lib, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
{
|
{
|
||||||
# Imports
|
# Imports
|
||||||
|
|
||||||
imports = with depot; [
|
imports = with meta; [
|
||||||
profiles.hardware.rm-310
|
profiles.hardware.rm-310
|
||||||
profiles.gui
|
profiles.gui
|
||||||
users.kat.guiFull
|
users.kat.guiFull
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
{ lib, config, depot, ... }: with lib; {
|
{ lib, config, profiles, ... }: with lib; {
|
||||||
deploy.targets.dummy.enable = false;
|
deploy.targets.dummy.enable = false;
|
||||||
network.nodes.dummy = {
|
network.nodes.dummy = {
|
||||||
imports = lib.hostImport {
|
imports = lib.hostImport {
|
||||||
hostName = "dummy";
|
hostName = "dummy";
|
||||||
inherit (depot) profiles;
|
inherit profiles;
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "dummy";
|
hostName = "dummy";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, depot, ... }: with lib; {
|
{ profiles, config, lib, ... }: with lib; {
|
||||||
config = {
|
config = {
|
||||||
deploy.targets.ostara = {
|
deploy.targets.ostara = {
|
||||||
tf = {
|
tf = {
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
network.nodes.ostara = {
|
network.nodes.ostara = {
|
||||||
imports = lib.hostImport {
|
imports = lib.hostImport {
|
||||||
hostName = "ostara";
|
hostName = "ostara";
|
||||||
inherit (depot) profiles;
|
inherit profiles;
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "ostara";
|
hostName = "ostara";
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
{ depot, config, pkgs, lib, ... }:
|
{ meta, config, pkgs, lib, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
{
|
{
|
||||||
# Imports
|
# Imports
|
||||||
|
|
||||||
imports = with depot; [
|
imports = with meta; [
|
||||||
profiles.hardware.eeepc-1015pem
|
profiles.hardware.eeepc-1015pem
|
||||||
profiles.laptop
|
profiles.laptop
|
||||||
services.kattv
|
services.kattv
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, depot, ... }: with lib; {
|
{ meta, config, profiles, ... }: with lib; {
|
||||||
config = {
|
config = {
|
||||||
deploy.targets.personal = {
|
deploy.targets.personal = {
|
||||||
tf = {
|
tf = {
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
network.nodes.samhain = {
|
network.nodes.samhain = {
|
||||||
imports = lib.hostImport {
|
imports = lib.hostImport {
|
||||||
hostName = "samhain";
|
hostName = "samhain";
|
||||||
inherit (depot) profiles;
|
inherit profiles;
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "samhain";
|
hostName = "samhain";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ depot, tf, config, pkgs, lib, sources, ... }:
|
{ meta, tf, config, pkgs, lib, sources, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
|
|
@ -9,7 +9,7 @@ let
|
||||||
in {
|
in {
|
||||||
# Imports
|
# Imports
|
||||||
|
|
||||||
imports = with depot; [
|
imports = with meta; [
|
||||||
profiles.hardware.ms-7b86
|
profiles.hardware.ms-7b86
|
||||||
profiles.gui
|
profiles.gui
|
||||||
profiles.vfio
|
profiles.vfio
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, depot, ... }: with lib; {
|
{ profiles, config, lib, ... }: with lib; {
|
||||||
config = {
|
config = {
|
||||||
deploy.targets.personal = {
|
deploy.targets.personal = {
|
||||||
tf = {
|
tf = {
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
network.nodes.yule = {
|
network.nodes.yule = {
|
||||||
imports = lib.hostImport {
|
imports = lib.hostImport {
|
||||||
hostName = "yule";
|
hostName = "yule";
|
||||||
inherit (depot) profiles;
|
inherit profiles;
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "yule";
|
hostName = "yule";
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
{ depot, config, pkgs, lib, ... }:
|
{ meta, config, pkgs, lib, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
{
|
{
|
||||||
# Imports
|
# Imports
|
||||||
|
|
||||||
imports = with depot; [
|
imports = with meta; [
|
||||||
profiles.hardware.v330-14arr
|
profiles.hardware.v330-14arr
|
||||||
profiles.gui
|
profiles.gui
|
||||||
profiles.laptop
|
profiles.laptop
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, sources, depot, lib, config, ... }:
|
{ pkgs, sources, lib, config, ... }:
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This module:
|
This module:
|
||||||
|
|
@ -59,7 +59,7 @@ with lib;
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit (config.network) nodes;
|
inherit (config.network) nodes;
|
||||||
inherit sources depot;
|
inherit sources;
|
||||||
meta = config;
|
meta = config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, depot, lib, pkgs, ... }:
|
{ config, meta, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = with depot; [
|
imports = with meta; [
|
||||||
users.kat.base
|
users.kat.base
|
||||||
# users.kairi.base TODO
|
# users.kairi.base TODO
|
||||||
users.arc
|
users.arc
|
||||||
|
|
|
||||||
2
wiki
2
wiki
|
|
@ -1 +1 @@
|
||||||
Subproject commit 7426b9204cd919c2e9bc87254f9654e830bf34da
|
Subproject commit b7cbb2972190f2bf92fa20ee58d746a32bc639e1
|
||||||
Loading…
Add table
Add a link
Reference in a new issue