wild hacking
This commit is contained in:
parent
66072b1d6e
commit
3efa686d83
4 changed files with 29 additions and 0 deletions
16
debug.nix
Normal file
16
debug.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
{lib, config, ... }: {
|
||||||
|
options.tempDebugVar = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "";
|
||||||
|
description = "tempDebugVar";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
environment.etc."debugfile".text = ''
|
||||||
|
${config.tempDebugVar}
|
||||||
|
'';
|
||||||
|
}
|
|
@ -8,6 +8,7 @@ in
|
||||||
specialArgs = {inherit inArgs;};
|
specialArgs = {inherit inArgs;};
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/${hostname}
|
./hosts/${hostname}
|
||||||
|
#./debug.nix
|
||||||
{
|
{
|
||||||
networking.hostName = hostname;
|
networking.hostName = hostname;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./luanti.nix
|
./luanti.nix
|
||||||
|
#./mods.nix
|
||||||
./postgresql.nix
|
./postgresql.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
11
modules/game/server/luanti/mods.nix
Normal file
11
modules/game/server/luanti/mods.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs, config, ... }: let
|
||||||
|
GitMod = curl: pkgs.fetchgit rec {
|
||||||
|
url = curl;
|
||||||
|
fetchSubmodules = true;
|
||||||
|
deepClone = false;
|
||||||
|
leaveDotGit = false;
|
||||||
|
};
|
||||||
|
this-variable-should-exist = GitMod "https://gitlab.com/rubenwardy/accountmgr";
|
||||||
|
in {
|
||||||
|
config.tempDebugVar = break this-variable-should-exist;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue