Seperate system hostname from config

This commit is contained in:
Emi Simpson 2022-12-18 23:12:08 -05:00
parent 0f983b6bec
commit 3d6234c603
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847
2 changed files with 3 additions and 1 deletions

View file

@ -4,7 +4,7 @@
let systemInformation = import ./system/system-information.nix; in
{ config, pkgs, lib, ... }:
{
networking.hostName = "kudzu";
networking.hostName = systemInformation.hostname;
imports =
[

View file

@ -1,4 +1,6 @@
{
hostname = "kudzu";
rootPartition = "/dev/disk/by-uuid/850e0a62-fd82-4360-b4d7-258817e86380";
swapPartition = "/dev/disk/by-uuid/6144d426-6c5f-4a8a-ac16-d4d5eecbf7a0";
efiPartition = "/dev/disk/by-uuid/E5A8-38EA";