completely refactor and modularize flake

This commit is contained in:
willifan 2024-12-26 23:10:52 +01:00
parent 3b1ed7e281
commit b7210fcf8e
141 changed files with 884 additions and 2605 deletions

47
hosts/Lillie/jovian.nix Normal file
View file

@ -0,0 +1,47 @@
{ pkgs, ... }:
{
jovian = {
decky-loader = {
enable = true;
user = "willifan";
extraPackages = with pkgs; [
# Generic packages
curl
unzip
util-linux
gnugrep
readline.out
procps
pciutils
libpulseaudio
# SimpleDeckyTDP
ryzenadj # actual TDP util
kmod # modprobe for acpi_call check
];
extraPythonPackages = pythonPackages: with pythonPackages; [
pyyaml # hhd-decky
aiohttp
certifi
];
};
devices.steamdeck = {
enable = true;
enableGyroDsuService = true;
};
hardware.has.amd.gpu = true;
steam = {
enable = true;
user = "willifan";
autoStart = true;
desktopSession = "hyprland";
};
};
environment.systemPackages = with pkgs; [
python3
];
}