Commit 05f38b98928b
Changed files (1)
configuration.nix
@@ -5,17 +5,19 @@
{ config, pkgs, ... }:
let
- hostName = "${builtins.readFile ./hostname}";
+ hostName = "${builtins.readFile ./hostname}";
in
rec {
- imports = [
- # Generated hardware configuration
- ./hardware-configuration.nix
- # Default profile with default configuration
- ./profiles/default.nix
- # Machine specific configuration files
- (./machine + "/${hostName}.nix")
- ];
-
- networking.hostName = "${hostName}";
+ imports = [
+ # Generated hardware configuration
+ ./hardware-configuration.nix
+ # Default profile with default configuration
+ ./profiles/default.nix
+ # Machine specific configuration files
+ (./machine + "/${hostName}.nix")
+ ];
+
+ networking.hostName = "${hostName}";
}
+
+