diff --git a/homes/aurora/profile.png b/homes/aurora/profile.png index e69de29..87f5cc9 100644 Binary files a/homes/aurora/profile.png and b/homes/aurora/profile.png differ diff --git a/hosts/nixarawrui/default.nix b/hosts/nixarawrui/default.nix index fda310c..724615d 100644 --- a/hosts/nixarawrui/default.nix +++ b/hosts/nixarawrui/default.nix @@ -1,9 +1,12 @@ { inputs, + lib, + root, upkgs, spkgs, ... -}: { +}: +{ imports = [ ./hardware-configuration.nix @@ -12,7 +15,7 @@ # Use the systemd-boot EFI boot loader. boot = rec { - initrd.kernelModules = ["amdgpu"]; + initrd.kernelModules = [ "amdgpu" ]; loader = { systemd-boot.enable = true; @@ -22,8 +25,8 @@ kernelPackages = upkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v4; # TODO: idk make this a toggle or smth idfk # kernelPackages = upkgs.linuxPackages_latest; - kernelModules = ["v4l2loopback"]; - extraModulePackages = with kernelPackages; [v4l2loopback]; + kernelModules = [ "v4l2loopback" ]; + extraModulePackages = with kernelPackages; [ v4l2loopback ]; # qemu # binfmt.emulatedSystems = [ @@ -98,7 +101,7 @@ ]; config.common = { - "org.freedesktop.impl.portal.FileChooser" = ["termfilechooser"]; + "org.freedesktop.impl.portal.FileChooser" = [ "termfilechooser" ]; }; }; @@ -191,7 +194,15 @@ users.aurora = { isNormalUser = true; uid = 1000; - extraGroups = ["wheel" "disk" "input" "video" "audio" "networkmanager" "games"]; + extraGroups = [ + "wheel" + "disk" + "input" + "video" + "audio" + "networkmanager" + "games" + ]; 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 = { # nix-ld runs unpatched dynamic binaries on nixos :3 nix-ld.enable = true;