mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: remove steam; remove desktop profile since it is not used
This commit is contained in:
parent
ed59dde6ca
commit
0477b8b4e3
7 changed files with 15 additions and 54 deletions
|
|
@ -17,6 +17,5 @@
|
|||
++ [ (import ./user.nix) ]
|
||||
++ [ (import ./bluetooth.nix) ]
|
||||
++ [ (import ./yubikey.nix) ]
|
||||
# ++ [ (import ./steam.nix) ]
|
||||
++ [ (import ./wayland.nix) ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
};
|
||||
}
|
||||
|
|
@ -1,12 +1,20 @@
|
|||
{ self, pkgs, lib, inputs, ...}:
|
||||
{
|
||||
# imports = [ inputs.nix-gaming.nixosModules.default ];
|
||||
self,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
substituters = [ "https://nix-gaming.cachix.org" ];
|
||||
trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
# substituters = [ "" ];
|
||||
# trusted-public-keys = [ "" ];
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
|
|
@ -41,7 +49,7 @@
|
|||
"en_US.UTF-8/UTF-8"
|
||||
"ja_JP.UTF-8/UTF-8"
|
||||
];
|
||||
|
||||
|
||||
# Font packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
noto-fonts-cjk-sans
|
||||
|
|
|
|||
|
|
@ -17,9 +17,7 @@
|
|||
extraSpecialArgs = { inherit inputs username host; };
|
||||
users.${username} = {
|
||||
imports =
|
||||
if (host == "desktop") then
|
||||
[ ./../home/default.desktop.nix ]
|
||||
else if (host == "violet") then
|
||||
if (host == "violet") then
|
||||
[ ./../home/default.server.nix ]
|
||||
else if (host == "dandelion") then
|
||||
[ ./../home/default.server.nix ]
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
{ ...}: {
|
||||
imports =
|
||||
[(import ./default.nix)]
|
||||
++ [ (import ./steam.nix) ];
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{ pkgs, config, inputs, ... }:
|
||||
{
|
||||
home.packages = with pkgs;[
|
||||
## Utils
|
||||
# gamemode
|
||||
# gamescope
|
||||
# winetricks
|
||||
# inputs.nix-gaming.packages.${pkgs.system}.wine-ge
|
||||
];
|
||||
}
|
||||
|
|
@ -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:
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue