chore: remove steam; remove desktop profile since it is not used

This commit is contained in:
Ahwx 2025-07-26 20:06:08 +02:00
parent ed59dde6ca
commit 0477b8b4e3
7 changed files with 15 additions and 54 deletions

View file

@ -17,6 +17,5 @@
++ [ (import ./user.nix) ] ++ [ (import ./user.nix) ]
++ [ (import ./bluetooth.nix) ] ++ [ (import ./bluetooth.nix) ]
++ [ (import ./yubikey.nix) ] ++ [ (import ./yubikey.nix) ]
# ++ [ (import ./steam.nix) ]
++ [ (import ./wayland.nix) ]; ++ [ (import ./wayland.nix) ];
} }

View file

@ -1,9 +0,0 @@
{ ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
}

View file

@ -1,12 +1,20 @@
{ self, pkgs, lib, inputs, ...}:
{ {
# imports = [ inputs.nix-gaming.nixosModules.default ]; self,
pkgs,
lib,
inputs,
...
}:
{
nix = { nix = {
settings = { settings = {
auto-optimise-store = true; auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ]; experimental-features = [
substituters = [ "https://nix-gaming.cachix.org" ]; "nix-command"
trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ]; "flakes"
];
# substituters = [ "" ];
# trusted-public-keys = [ "" ];
}; };
gc = { gc = {
automatic = true; automatic = true;
@ -41,7 +49,7 @@
"en_US.UTF-8/UTF-8" "en_US.UTF-8/UTF-8"
"ja_JP.UTF-8/UTF-8" "ja_JP.UTF-8/UTF-8"
]; ];
# Font packages # Font packages
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
noto-fonts-cjk-sans noto-fonts-cjk-sans

View file

@ -17,9 +17,7 @@
extraSpecialArgs = { inherit inputs username host; }; extraSpecialArgs = { inherit inputs username host; };
users.${username} = { users.${username} = {
imports = imports =
if (host == "desktop") then if (host == "violet") then
[ ./../home/default.desktop.nix ]
else if (host == "violet") then
[ ./../home/default.server.nix ] [ ./../home/default.server.nix ]
else if (host == "dandelion") then else if (host == "dandelion") then
[ ./../home/default.server.nix ] [ ./../home/default.server.nix ]

View file

@ -1,5 +0,0 @@
{ ...}: {
imports =
[(import ./default.nix)]
++ [ (import ./steam.nix) ];
}

View file

@ -1,10 +0,0 @@
{ pkgs, config, inputs, ... }:
{
home.packages = with pkgs;[
## Utils
# gamemode
# gamescope
# winetricks
# inputs.nix-gaming.packages.${pkgs.system}.wine-ge
];
}

View file

@ -1,20 +0,0 @@
{ pkgs, lib, ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = false;
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-runtime"
];
# proton-ge-bin
# warning: The package proton-ge in nix-gaming has been deprecated as of 2024-03-17.
# You should use proton-ge-bin from Nixpkgs, which conforms to
# the new `extraCompatTools` module option under `programs.steam`
# For details, see the relevant pull request:
}