We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92239df commit 231fc19Copy full SHA for 231fc19
local-flake.nix
@@ -8,15 +8,19 @@
8
};
9
10
11
- outputs = { self, nixpkgs, microdesktop }: {
+ outputs = { self, nixpkgs, microdesktop }:
12
+ let
13
+ hostName = "myhostname"; # Replace with desired hostname
14
+ in
15
+ {
16
nixosConfigurations = {
- "${nixos-hostname}" = nixpkgs.lib.nixosSystem {
17
+ "${hostName}" = nixpkgs.lib.nixosSystem {
18
system = "x86_64-linux";
19
modules = [
20
microdesktop.nixosModules.microDesktop
21
./hardware-configuration.nix
22
({ config, lib, pkgs, ... }: {
- networking.hostName = "myhostname"; # Replace with desired hostname
23
+ networking.hostName = "${hostName}";
24
25
time.timeZone = "America/New_York"; # Replace with your timezone
26
0 commit comments