Hostname is now a variable
This commit is contained in:
parent
4be4b1cc1c
commit
431c99a58e
2 changed files with 3 additions and 2 deletions
|
@ -16,6 +16,7 @@ in rec {
|
|||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit stateVersion;
|
||||
hostname = "mrmeeseeks";
|
||||
};
|
||||
modules = [
|
||||
./hosts/mrmeeseeks/configuration.nix
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, stateVersion, ... }:
|
||||
{ config, pkgs, lib, stateVersion, hostname, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
@ -29,7 +29,7 @@
|
|||
# Bluetooth
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.xpadneo.enable = true;
|
||||
networking.hostName = "mrmeeseeks";
|
||||
networking.hostName = hostname;
|
||||
|
||||
console = {
|
||||
earlySetup = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue