Simplify host config path
Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com>
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
&& builtins.match "^_+$" username == null
|
||||
&& builtins.match "^nix.*" username == null
|
||||
&& username != "root";
|
||||
hostConfig = (./hosts + "/${hostname}") + "/hardware-configuration.nix";
|
||||
hostConfig = ./hosts + "/${hostname}/hardware-configuration.nix";
|
||||
passwordHashPath = "/etc/nixos/secrets/${username}/password.hash";
|
||||
specialArgs = { inherit inputs system hostname username usernameValid passwordHashPath; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user