diff options
| author | Mel <einebeere@gmail.com> | 2025-01-24 03:21:54 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2025-01-24 03:23:28 +0100 |
| commit | 22c74c30b97dbf25857f8c874581e638cb5e8d0a (patch) | |
| tree | d72ca6d784a7bbce2840002860f8899f23ba02ef /modules/common.nix | |
| parent | 4af08c9c9c15fa3325b91d187cf17b35184a457c (diff) | |
| download | minerals-22c74c30b97dbf25857f8c874581e638cb5e8d0a.tar.zst minerals-22c74c30b97dbf25857f8c874581e638cb5e8d0a.zip | |
Take machine hostname from flake inputs
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'modules/common.nix')
| -rw-r--r-- | modules/common.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/common.nix b/modules/common.nix index 0d3f815..bfa71ca 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -23,10 +23,12 @@ # it makes every nixos rebuild very slow. documentation.man.generateCaches = false; + networking.hostName = me; # use corsac dns server networking.nameservers = let corsacTailnet = "100.64.100.100"; in [ corsacTailnet ]; + services.resolved.enable = true; services = { |
