Fix flake assertion syntax
Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com>
This commit is contained in:
@@ -46,8 +46,7 @@
|
||||
&& builtins.match "^nix" username == null
|
||||
&& username != "root";
|
||||
hostConfig = ./hosts + "/${hostname}/hardware-configuration.nix";
|
||||
passwordHashPath = assert usernameValid;
|
||||
"/etc/nixos/secrets/${username}/password.hash";
|
||||
passwordHashPath = assert usernameValid; "/etc/nixos/secrets/${username}/password.hash";
|
||||
specialArgs = { inherit inputs system hostname username usernameValid passwordHashPath; };
|
||||
|
||||
# Verify mango flake exports the expected module
|
||||
|
||||
Reference in New Issue
Block a user