Personal-use NixOS configuration

Refactor prospect user config

+21 -51
hosts/prospect/config/games.nix hosts/prospect/users/config/games.nix
+6 -33
hosts/prospect/homes/config/games.nix
··· 1 - { pkgs, pkgs-unstable, ... }: 1 + { pkgs, ... }: 2 2 3 - let 4 - stable-emulators = with pkgs; [ 5 - punes-qt6 # Nintendo Entertainment System 6 - blastem # Sega Genesis 7 - bsnes-hd # Nintendo Super Entertainment System 8 - yabause # Sega Saturn 9 - duckstation # Sony Playstation 1 10 - rmg-wayland # Nintendo 64 11 - flycast # Sega Dreamcast 12 - mgba # Nintendo Game Boy 13 - pcsx2 # Sony Playstation 2 14 - xemu # Microsoft Xbox 15 - melonDS # Nintendo DS 16 - ppsspp-qt # Sony Playstation Portable 17 - xenia-canary # Microsoft Xbox 360 18 - rpcs3 # Sony Playstation 3 19 - azahar # Nintendo 3DS 20 - cemu # Nintendo Wii U 21 - ]; 3 + { 4 + # TODO: package Vita3k and Gearsystem 22 5 23 - unstable-emulators = with pkgs-unstable; [ 6 + home.packages = with pkgs; [ 7 + r2modman 8 + olympus 24 9 ]; 25 - 26 - # TODO: Vita3k and Gearsystem 27 - in 28 - { 29 - home.packages = 30 - with pkgs; 31 - [ 32 - r2modman 33 - olympus 34 - ] 35 - ++ stable-emulators 36 - ++ unstable-emulators; 37 10 }
+1
hosts/prospect/homes/encode42.nix
··· 15 15 16 16 (flakeRoot + /homes/shared/desktop/prismlauncher.nix) 17 17 18 + ./config/games.nix 18 19 ./config/pegasus.nix 19 20 ]; 20 21 }
+10
hosts/prospect/homes/guest.nix
··· 12 12 (flakeRoot + /homes/shared/desktop/firefox.nix) 13 13 14 14 (flakeRoot + /homes/shared/desktop/prismlauncher.nix) 15 + 16 + ./config/games.nix 17 + ./config/pegasus.nix 15 18 ]; 19 + 20 + dconf.settings = { 21 + "org/gnome/desktop/screensaver" = { 22 + lock-enabled = false; 23 + lock-on-suspend = false; 24 + }; 25 + }; 16 26 }
+1 -2
hosts/prospect/users/encode42.nix
··· 5 5 6 6 { 7 7 imports = [ 8 - ../config/games.nix 8 + ./config/games.nix 9 9 10 10 (flakeRoot + /users/encode42/common) 11 11 (flakeRoot + /users/encode42/desktop/environments/gnome.nix) ··· 15 15 16 16 home-manager.users.encode42 = { 17 17 imports = [ 18 - ../homes/config/games.nix 19 18 ../homes/encode42.nix 20 19 ]; 21 20
+3 -16
hosts/prospect/users/guest.nix
··· 17 17 ".local/share/Steam/steamapps/*.acf" 18 18 ".local/share/Steam/steamapps/common" 19 19 20 - ".local/share/PrismLauncher/prismlauncher.cfg" # TODO: Create 20 + ".local/share/PrismLauncher/prismlauncher.cfg" 21 21 ".local/share/PrismLauncher/instances" 22 22 23 - ".config/mgba/config.ini" # TODO: Create 24 - ".mgba" # TODO: Move to .config/mgba 23 + ".blastem-saves" 25 24 ]; 26 25 27 26 rsyncExcludes = builtins.concatStringsSep " \\\n" ( ··· 30 29 in 31 30 { 32 31 imports = [ 33 - ../config/games.nix 32 + ./config/games.nix 34 33 ]; 35 34 36 35 services.displayManager.autoLogin.enable = true; ··· 44 43 45 44 home-manager.users.guest = { 46 45 imports = [ 47 - ../homes/config/games.nix 48 46 ../homes/guest.nix 49 47 ]; 50 48 51 - dconf.settings = { 52 - "org/gnome/desktop/screensaver" = { 53 - lock-enabled = false; 54 - lock-on-suspend = false; 55 - }; 56 - }; 57 - 58 49 home.stateVersion = "25.05"; 59 50 }; 60 - 61 - environment.systemPackages = with pkgs; [ 62 - rsync 63 - ]; 64 51 65 52 systemd.services.clean-guest-home = { 66 53 description = "Perform guest account cleanup";