1
0
Fork 0
forked from foxora/nix

added profile picture

This commit is contained in:
foxora 2026-03-01 17:01:10 +00:00
parent 14507c9737
commit 308b109a27
2 changed files with 25 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 318 KiB

Before After
Before After

View file

@ -1,9 +1,12 @@
{ {
inputs, inputs,
lib,
root,
upkgs, upkgs,
spkgs, spkgs,
... ...
}: { }:
{
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
@ -191,7 +194,15 @@
users.aurora = { users.aurora = {
isNormalUser = true; isNormalUser = true;
uid = 1000; uid = 1000;
extraGroups = ["wheel" "disk" "input" "video" "audio" "networkmanager" "games"]; extraGroups = [
"wheel"
"disk"
"input"
"video"
"audio"
"networkmanager"
"games"
];
shell = upkgs.zsh; shell = upkgs.zsh;
@ -205,6 +216,14 @@
}; };
}; };
systemd.tmpfiles.rules =
let
imagePath = root + "/homes/aurora/profile.png";
in
lib.mkIf (builtins.pathExists imagePath) [
"L /var/lib/AccountsService/icons/aurora - - - - ${imagePath}"
];
programs = { programs = {
# nix-ld runs unpatched dynamic binaries on nixos :3 # nix-ld runs unpatched dynamic binaries on nixos :3
nix-ld.enable = true; nix-ld.enable = true;