add corenet module and basic coredns + Corefile
This commit is contained in:
parent
cafee81d46
commit
c60fc5d9d1
|
@ -191,11 +191,11 @@
|
|||
"nixpkgs": "nixpkgs_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1721177469,
|
||||
"narHash": "sha256-8puiNyCJy6k1Pl25BgE4wUUpifO7f1hraR7JI9lAqW4=",
|
||||
"lastModified": 1721191005,
|
||||
"narHash": "sha256-iZn/aTs/b38+GD9sak1JgOnBTXKxxvZeqCAZocf0jr0=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "27af88462c971572a72a9a05c8608dca74e4a4b7",
|
||||
"revCount": 13,
|
||||
"rev": "7dfc2d363050b5108f8a671f9d31b8387e5a6c77",
|
||||
"revCount": 15,
|
||||
"type": "git",
|
||||
"url": "https://git.strudelline.net/cascade/numbers"
|
||||
},
|
||||
|
|
12
modules/corenet.nix
Normal file
12
modules/corenet.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{config, ...}:
|
||||
|
||||
{
|
||||
services.coredns = {
|
||||
enable = true;
|
||||
config = ''
|
||||
. {
|
||||
whoami
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user