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 #!/bin/sh
pushd ~/nix-config pushd ~/dotfiles
sudo nixos-rebuild switch --flake .# sudo nixos-rebuild switch --flake .#
popd popd

View file

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