summaryrefslogtreecommitdiffstats
path: root/modules/mkdir
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-10 20:46:12 +0200
committertv <tv@shackspace.de>2015-07-10 20:46:12 +0200
commit2efbe1415ce7ba64dc67d66b7bc4eb274b91df71 (patch)
tree61a330bea5152fdb35113657219c0f72144ec19f /modules/mkdir
parentb49fb90be3959d77f8fe1d7ccc84751b04ff48cf (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 f2b32f7ec..e4c8343d3 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;