Added and altered aliases

This commit is contained in:
2026-02-23 17:06:49 +01:00
parent aba3df3275
commit b8115d155f
2 changed files with 5 additions and 22 deletions
-18
View File
@@ -1,18 +0,0 @@
{ pkgs, user, flakeRoot, lib, ... }:
let
repoConfDir = flakeRoot + "/assets/conf";
in
{
home.activation.copyWritableConf =
lib.hm.dag.entryAfter [ "writeBoundary" ] ''
set -eu
target="$HOME/conf"
# Start fresh to avoid mixed old/new files
rm -rf "$target"
mkdir -p "$target"
# Copy repo content into a normal writable directory
cp -a "${repoConfDir}/." "$target/"
# Ensure the user can edit everything
chmod -R u+rwX "$target"
'';
}