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";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit stateVersion;
|
inherit stateVersion;
|
||||||
|
hostname = "mrmeeseeks";
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/mrmeeseeks/configuration.nix
|
./hosts/mrmeeseeks/configuration.nix
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, lib, stateVersion, ... }:
|
{ config, pkgs, lib, stateVersion, hostname, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
hardware.xpadneo.enable = true;
|
hardware.xpadneo.enable = true;
|
||||||
networking.hostName = "mrmeeseeks";
|
networking.hostName = hostname;
|
||||||
|
|
||||||
console = {
|
console = {
|
||||||
earlySetup = true;
|
earlySetup = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue