desktop changes

This commit is contained in:
2025-03-15 11:29:54 -04:00
parent 32bea7a44c
commit 31e73bb3d1
4 changed files with 43 additions and 26 deletions

View File

@@ -13,6 +13,7 @@
./declarative-nm.nix
./distrobox.nix
./vm.nix
./steam.nix
inputs.agenix.nixosModules.default
inputs.nixos-hardware.nixosModules.common-pc-ssd
@@ -27,15 +28,6 @@
];
};
nixpkgs.config.allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
];
nix = {
# optimize the store
optimise.automatic = true;
@@ -203,12 +195,6 @@
enableSSHSupport = false;
};
programs.steam = {
enable = true;
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
extraCompatPackages = with pkgs; [ proton-ge-bin ];
};
# System packages
environment.systemPackages = with pkgs; [
# mullvad-vpn

27
etcnixos/steam.nix Normal file
View File

@@ -0,0 +1,27 @@
{
pkgs,
config,
lib,
...
}:
{
nixpkgs.config.allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
];
programs.steam = {
enable = true;
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
extraCompatPackages = with pkgs; [ proton-ge-bin ];
};
environment.systemPackages = with pkgs; [
steamtinkerlaunch
];
}