summaryrefslogtreecommitdiffstats
path: root/modules/mkdir
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-10 20:46:12 +0200
committertv <tv@krebsco.de>2015-07-10 20:46:12 +0200
commitc1bc5ac84cb7705257113d607ec2791ebdb7403d (patch)
treeaf3942f95c0f932d55b096663c7f4bba2f97f649 /modules/mkdir
parent9177dc3704967f58b15a24742d22c9d696f105e7 (diff)
tv.identity: init
Diffstat (limited to 'modules/mkdir')
-rw-r--r--modules/mkdir/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/mkdir/default.nix b/modules/mkdir/default.nix
index f2b32f7..e4c8343 100644
--- a/modules/mkdir/default.nix
+++ b/modules/mkdir/default.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }:
+{ config, pkgs, ... }:
let
inherit (builtins) readFile;
@@ -16,6 +16,13 @@ in
../tv/git/public.nix
../tv/sanitize.nix
{
+ imports = [ ../tv/identity ];
+ tv.identity = {
+ enable = true;
+ self = config.tv.identity.hosts.mkdir;
+ };
+ }
+ {
imports = [ ../tv/iptables ];
tv.iptables = {
enable = true;