From 2843567f2ce2575f0da15bd526fc60567831890e Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Sun, 18 Feb 2024 16:17:37 +0100 Subject: [PATCH] Mount disk for games --- nixos/hosts/Tibo-NixDesk/default.nix | 5 ++++- nixos/hosts/Tibo-NixDesk/hardware-configuration.nix | 10 ++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/Tibo-NixDesk/default.nix b/nixos/hosts/Tibo-NixDesk/default.nix index 7695521..5bec21e 100644 --- a/nixos/hosts/Tibo-NixDesk/default.nix +++ b/nixos/hosts/Tibo-NixDesk/default.nix @@ -56,7 +56,10 @@ zenith-nvidia ]; - programs.zsh.enable = true; + programs = { + steam.enable = true; + zsh.enable = true; + }; hardware.bluetooth.enable = true; diff --git a/nixos/hosts/Tibo-NixDesk/hardware-configuration.nix b/nixos/hosts/Tibo-NixDesk/hardware-configuration.nix index a5ae163..4903685 100644 --- a/nixos/hosts/Tibo-NixDesk/hardware-configuration.nix +++ b/nixos/hosts/Tibo-NixDesk/hardware-configuration.nix @@ -50,6 +50,16 @@ "bind" ]; }; + + "/mnt/Games" = { + device = "/dev/disk/by-label/Games"; + fsType = "ntfs"; + options = [ + "uid=tdpeuter" + "gid=users" + "defaults" + ]; + }; }; swapDevices = [