From c42affa3470fc893086960207cf31633c24f7868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Mon, 11 Nov 2024 15:43:12 +0100 Subject: [PATCH] add name and pfp --- users/darkkirb/default.nix | 1 + users/darkkirb/home-manager/default.nix | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/users/darkkirb/default.nix b/users/darkkirb/default.nix index db50ab1a..e5362857 100644 --- a/users/darkkirb/default.nix +++ b/users/darkkirb/default.nix @@ -8,6 +8,7 @@ ]; hashedPasswordFile = config.sops.secrets."users/users/darkkirb/hashedPassword".path; extraGroups = [ "wheel" ]; + description = "Charlotte 🦝 Delenk"; }; sops.secrets."users/users/darkkirb/hashedPassword" = { neededForUsers = true; diff --git a/users/darkkirb/home-manager/default.nix b/users/darkkirb/home-manager/default.nix index 5e672271..9719d114 100644 --- a/users/darkkirb/home-manager/default.nix +++ b/users/darkkirb/home-manager/default.nix @@ -1,7 +1,24 @@ -{ ... }: +{ pkgs, ... }: { imports = [ ./git.nix ./sops.nix ]; + home.file.".face".source = + let + pfp = pkgs.stdenvNoCC.mkDerivation { + pname = "face"; + inherit (pkgs.art-lotte) version; + src = "${pkgs.art-lotte}/2023-10-26-sammythetanuki-babylottepfp-therian.jxl"; + dontUnpack = true; + nativeBuildInputs = [ pkgs.libjxl ]; + buildPhase = '' + djxl $src face.png + ''; + installPhase = '' + cp face.png $out + ''; + }; + in + "${pfp}"; }