feat: organize pkgs and remove abs dirs
This commit is contained in:
parent
4e09fe222a
commit
b954569da7
5 changed files with 76 additions and 51 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue