Added steam

This commit is contained in:
Alejandro Angulo 2022-09-18 14:34:41 -07:00
parent 1069ce96ac
commit 2758120aaa
2 changed files with 15 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh
pushd ~/nix-config
pushd ~/dotfiles
sudo nixos-rebuild switch --flake .#
popd

View file

@ -10,7 +10,13 @@
./hardware-configuration.nix ./zfs.nix ./vpn.nix
];
hardware.opengl.enable = true;
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
nixpkgs.config.allowUnfree = true;
# Make ready for nix flakes
nix.package = pkgs.nixFlakes;
@ -70,6 +76,12 @@
extraPackages = with pkgs; [ swaylock ];
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
fonts.fonts = with pkgs; [
(nerdfonts.override {fonts = ["Hack"];})
];
@ -83,6 +95,7 @@
killall
usbutils
pavucontrol
cachix
];
# Some programs need SUID wrappers, can be configured further or are