explicitely set hostname

This commit is contained in:
willifan 2024-07-31 19:55:12 +02:00
parent 84b5e3150a
commit cce6a213aa

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, hostname, ... }:
{
imports = [
./autoupdate.nix
@ -6,7 +6,10 @@
./optimise.nix
];
networking.networkmanager.enable = true;
networking = {
networkmanager.enable = true;
hostName = "${hostname}";
};
console.keyMap = "de";
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];