flake: set hostname in mkSystem

This commit is contained in:
Charlie Root 2024-09-22 19:21:27 +02:00
commit da4319add1
3 changed files with 8 additions and 4 deletions

View file

@ -1,11 +1,10 @@
{config, ...}: let
inherit (config.modules.other.system) hostname username;
inherit (config.modules.other.system) username;
in {
imports = [
./networkmanager.nix
];
networking = {
hostName = hostname;
enableIPv6 = true;
nameservers = [
# quad9 DNS