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

@@ -1,6 +1,6 @@
{
config,
username,
myvars,
...
}: {
services.skhd = {
@@ -10,7 +10,7 @@
# custom log path for debugging
launchd.user.agents.skhd.serviceConfig = let
homeDir = config.users.users."${username}".home;
homeDir = config.users.users."${myvars.username}".home;
in {
StandardErrorPath = "${homeDir}/Library/Logs/skhd.stderr.log";
StandardOutPath = "${homeDir}/Library/Logs/skhd.stdout.log";

View File

@@ -2,11 +2,11 @@
pkgs,
config,
lib,
username,
myvars,
pkgs-unstable,
...
}: let
homeDir = config.users.users."${username}".home;
homeDir = config.users.users."${myvars.username}".home;
in {
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/os-specific/darwin/yabai/default.nix
services.yabai = {