Pass password hash path via flake

Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-01 20:56:31 +00:00
parent 4370c6a22d
commit f95c64168c
3 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, inputs, system, hostname, username, ... }:
{ config, pkgs, inputs, system, hostname, username, passwordHashPath, ... }:
{
assertions = [
@@ -118,7 +118,7 @@
extraGroups = [ "wheel" "networkmanager" "video" "seat" ];
# IMPORTANT: Generate a password hash with: mkpasswd -m sha-512
# Save it to the path below (ensure permissions are 600)
hashedPasswordFile = "/etc/nixos/secrets/${username}/password.hash";
hashedPasswordFile = passwordHashPath;
packages = with pkgs; [
# -- Noctalia Shell --
inputs.quickshell.packages.${system}.default