refactor: Use haumea for filesystem-based module system for flake outputs

refactor: Use hyphen(`-`) for variable names & folder names(except Python), replace all unserscore(`_`) with hyphen(`-`).
This commit is contained in:
Ryan Yin
2024-03-09 01:32:58 +08:00
parent d7738efed2
commit b382999a70
167 changed files with 1570 additions and 955 deletions

View File

@@ -3,7 +3,7 @@
pkgs,
agenix,
mysecrets,
username,
myvars,
...
}: {
imports = [
@@ -31,7 +31,7 @@
};
user_readable = {
mode = "0500";
owner = username;
owner = myvars.username;
};
in {
# ---------------------------------------------
@@ -128,7 +128,7 @@
system.activationScripts.postActivation.text = ''
${pkgs.nushell}/bin/nu -c '
if (ls /etc/agenix/ | length) > 0 {
sudo chown ${username} /etc/agenix/*
sudo chown ${myvars.username} /etc/agenix/*
}
'
'';