nixos-config

NixOS configs for my systems
Log | Files | Refs

commit 538e87823b3a4a53239a9670415ee9bb57e34785
parent 485ef8ae7c967a5a10698e1301a62ea444a38b79
Author: vin <vin@vineetk.net>
Date:   Fri, 10 Jan 2025 23:08:57 -0500

add steam and other packages

Diffstat:
Mhome.nix | 5+++++
Mhosts/demiurge/default.nix | 10++++++++++
2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/home.nix b/home.nix @@ -10,8 +10,10 @@ in { packages = with pkgs; [ age + amdgpu_top dmenu doas + htop kicad mlocate mupdf @@ -20,7 +22,9 @@ in { oathToolkit profanity rclone + scrot tree + vesktop xdotool xsel xwallpaper @@ -73,6 +77,7 @@ in { rsync = "rsync --no-inc-recursive"; mpv = "mpv --save-position-on-quit"; wget = "wget --no-hsts"; + ytdl = "noglob yt-dlp --merge-output-format mkv --embed-subs --embed-metadata --sub-langs en,-live_chat --format='bestvideo[height<=?1440]+bestaudio/best'"; # the `-c $SHELL` is there because it defaults to bash even if # that's not my user shell diff --git a/hosts/demiurge/default.nix b/hosts/demiurge/default.nix @@ -96,6 +96,13 @@ ]; }; + # selectively allow unfree packages + nixpkgs.config.allowUnfreePredicate = pkg: + builtins.elem (lib.getName pkg) [ + "steam" + "steam-unwrapped" + ]; + # default packages for both me and root environment = { systemPackages = with pkgs; [ @@ -130,6 +137,9 @@ # disable nano. I don't like nano. nano.enable = false; + # steam, proprietary. I sometimes like playing nonfree games too. + steam.enable = true; + # configuration in home-manager zsh.enable = true; };