mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02:00
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:
@@ -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/*
|
||||
}
|
||||
'
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user