NixOS configuration 🪄
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

✨ fix-ups and home-manager usage for gaming profile

Signed-off-by: Xaiya Schumin <d.schumin@proton.me>

+38 -48
+9
home/xaiya/packages.nix
··· 4 4 home.packages = [ 5 5 pkgs.obsidian # Notes taking app 6 6 7 + # Gaming packages 8 + pkgs.steam # Gaming stuff 9 + pkgs.gamescope # Having games in a specific window with extra configurations 10 + 11 + pkgs.lutris # Game launcher 12 + pkgs.prismlauncher # Minecraft 13 + inputs'.aagl.packages.sleepy-launcher # ZZZ launcher 14 + 15 + # Music/Media players 7 16 pkgs.mpv # Music streaming 8 17 inputs'.tidaLuna.packages.default # Music Streaming Service (injected) 9 18
+27 -48
modules/nixos/extraPackages.nix
··· 3 3 lib, 4 4 config, 5 5 self, 6 - pkgs, 7 - inputs, 8 6 ... 9 7 }: 10 8 let ··· 14 12 prof = config.sylveon.profiles; 15 13 in 16 14 { 17 - 18 - imports = [ # TODO: only if gaming profile? 19 - inputs.aagl.nixosModules.default 20 - ]; 21 - 22 - config = { 23 - programs = mkMerge [ 24 - (mkIf (prof.graphical.enable) { 25 - # gnome configuration 26 - dconf.enable = true; 15 + programs = mkMerge [ 16 + (mkIf (prof.graphical.enable) { 17 + # gnome configuration 18 + dconf.enable = true; 19 + 20 + # Gnome keyring 21 + seahorse.enable = true; 22 + }) 27 23 28 - # Gnome keyring manager 29 - seahorse.enable = true; 30 - }) 24 + (mkIf (prof.gaming.enable) { 25 + # Setup configuration thingies for steam 26 + steam = { 27 + dedicatedServer.openFirewall = true; 28 + localNetworkGameTransfers.openFirewall = true; 29 + remotePlay.openFirewall = true; 30 + }; 31 + }) 31 32 32 - (mkIf (prof.gaming.enable) { 33 - steam = { 34 - dedicatedServer.openFirewall = true; 35 - localNetworkGameTransfers.openFirewall = true; 36 - remotePlay.openFirewall = true; 37 - 38 - extest.enable = true; 39 - protontricks.enable = true; 40 - gamescopeSession.enable = true; 41 - }; 42 - 43 - sleepy-launcher.enable = true; 44 - }) 45 - 46 - { 47 - zsh.enable = ( 48 - anyHomeModuleActive config [ 49 - "sylveon" 50 - "cli" 51 - "zsh" 52 - "enable" 53 - ] 54 - ); 55 - } 56 - ]; 57 - 58 - environment.systemPackages = mkMerge [ 59 - (mkIf prof.gaming.enable [ 60 - pkgs.prismlauncher 61 - pkgs.lutris # TODO: home-manager configuration? 62 - ]) 63 - ]; 64 - }; 33 + { 34 + zsh.enable = ( 35 + anyHomeModuleActive config [ 36 + "sylveon" 37 + "cli" 38 + "zsh" 39 + "enable" 40 + ] 41 + ); 42 + } 43 + ]; 65 44 }
+2
modules/nixos/hardware/networking/default.nix
··· 27 27 ./networkManager.nix 28 28 ./tailscale.nix 29 29 ./ssh.nix 30 + 31 + inputs.aagl.nixosModules.default # TODO: only if profile gamine? 30 32 ]; 31 33 32 34