Update flakes, fix build errors for Yukari

This commit is contained in:
Kat Inskip 2024-01-06 14:25:13 -08:00
parent cdceb9d13d
commit 202fd41bec
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
15 changed files with 324 additions and 88 deletions

View file

@ -1,3 +1,30 @@
_: {
boot.loader.grub.splashImage = ./splash.jpg;
boot.loader = {
timeout = -1;
grub = {
# theme = pkgs.nixos-grub2-theme; # so like, this turbo-breaks the fuck out of GRUB, i have no clue why?
splashImage = ./splash.jpg;
extraConfig = ''
set color_normal=black/black
set menu_color_normal=black/black
set menu_color_highlight=magenta/cyan
'';
memtest86.enable = true;
extraEntries = ''
if [ ''${grub_platform} == "efi" ]; then
menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' {
fwsetup
}
fi
menuentry "System restart" {
echo "System rebooting..."
reboot
}
menuentry "System shutdown" {
echo "System shutting down..."
halt
}
'';
};
};
}

View file

@ -0,0 +1,7 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
questpatcher
sidequest
];
programs.adb.enable = true;
}

View file

@ -4,11 +4,13 @@
...
}: {
environment.systemPackages = with pkgs; [
android-udev-rules
jmtpfs
dnsutils
firefox
usbutils
inputs.konawall-py.packages.${pkgs.system}.konawall-py
];
services.udev.packages = [
pkgs.android-udev-rules
];
}

View file

@ -1,4 +0,0 @@
{config, ...}: {
# Allow services to persist for a user after their sessions have ran out
systemd.tmpfiles.rules = set.mapToValues (username: _: "f /var/lib/systemd/linger/${username}") config.users.users;
}