Make the NixOS hostname configurable

This commit is contained in:
Oliver Davies 2024-01-09 20:39:56 +00:00
parent e87b718592
commit 7c72cc4d5d
3 changed files with 13 additions and 5 deletions

View file

@ -1,9 +1,9 @@
{ inputs, pkgs, self, system, username }:
{ desktop ? false }:
{ desktop ? false, hostname }:
let
configuration = import ./configuration.nix { inherit desktop inputs pkgs system; };
configuration = import ./configuration.nix { inherit desktop hostname inputs pkgs system; };
hardware-configuration = import ./hardware-configuration.nix;
in
inputs.nixpkgs.lib.nixosSystem {