feat: organize pkgs and remove abs dirs

This commit is contained in:
Jet Pham 2026-02-16 17:35:58 -08:00
parent 4e09fe222a
commit b954569da7
No known key found for this signature in database
5 changed files with 76 additions and 51 deletions

View file

@ -345,11 +345,13 @@
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "25.05"; # Did you read the comment?
# Set user profile picture for GNOME
# Set user profile picture for GNOME
system.activationScripts.script.text = ''
mkdir -p /var/lib/AccountsService/{icons,users}
if [ -f /home/jet/Documents/nix-config/cat.png ]; then
cp /home/jet/Documents/nix-config/cat.png /var/lib/AccountsService/icons/jet
img="/home/jet/Documents/nix-config/cat.png"
if [ -f "$img" ]; then
cp "$img" /var/lib/AccountsService/icons/jet
echo -e "[User]\nIcon=/var/lib/AccountsService/icons/jet\n" > /var/lib/AccountsService/users/jet
chown root:root /var/lib/AccountsService/users/jet
chmod 0600 /var/lib/AccountsService/users/jet