chore: nix fmt

This commit is contained in:
514fpv 2025-01-13 11:52:09 +08:00
parent a80bd4ed3b
commit 7266fff06e
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
128 changed files with 3402 additions and 2013 deletions

View file

@ -1,5 +1,14 @@
{ pkgs, lib, config, ... }: with lib; {
options.global.jovian = mkEnableOption "set up Jovian NixOS" // { default = true; };
{
pkgs,
lib,
config,
...
}:
with lib;
{
options.global.jovian = mkEnableOption "set up Jovian NixOS" // {
default = true;
};
config = mkIf config.global.jovian {
jovian = {
@ -16,12 +25,17 @@
};
users.home.persistApp.directories = [
".steam" ".local/share/Steam"
".config/gamescope" ".config/hhd"
".steam"
".local/share/Steam"
".config/gamescope"
".config/hhd"
".kodi"
];
users.users.app.extraGroups = [ "networkmanager" "gamemode" ];
users.users.app.extraGroups = [
"networkmanager"
"gamemode"
];
programs.gamemode.enable = true;
programs.regreet.enable = false;
home.plasma.enable = true;
@ -34,14 +48,20 @@
home-manager.users.app = {
home.packages = with pkgs; [
(pkgs.kodi-wayland.passthru.withPackages (kodiPkgs: with kodiPkgs; [
joystick # keymap steam-controller
#controller-topology-project
libretro libretro-2048
libretro-fuse libretro-genplus libretro-mgba
libretro-nestopia libretro-snes9x
jellycon
]))
(pkgs.kodi-wayland.passthru.withPackages (
kodiPkgs: with kodiPkgs; [
joystick # keymap steam-controller
#controller-topology-project
libretro
libretro-2048
libretro-fuse
libretro-genplus
libretro-mgba
libretro-nestopia
libretro-snes9x
jellycon
]
))
];
home.pointerCursor = {
@ -60,11 +80,20 @@
enable = true;
user = "app";
extraPackages = with pkgs; [
curl unzip util-linux gnugrep procps pciutils kmod ryzenadj
];
extraPythonPackages = pythonPackages: with pythonPackages; [
hid pyyaml
curl
unzip
util-linux
gnugrep
procps
pciutils
kmod
ryzenadj
];
extraPythonPackages =
pythonPackages: with pythonPackages; [
hid
pyyaml
];
stateDir = "/nix/persist/decky";
};