From e8077fde966e051fc449fffcfa061c7f7edc47b0 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 14 Apr 2025 19:01:38 -0700 Subject: migration: finalize --- snowfall/modules/home/apps/steam/default.nix | 30 ---------------------------- 1 file changed, 30 deletions(-) delete mode 100644 snowfall/modules/home/apps/steam/default.nix (limited to 'snowfall/modules/home/apps/steam') diff --git a/snowfall/modules/home/apps/steam/default.nix b/snowfall/modules/home/apps/steam/default.nix deleted file mode 100644 index 9148b9d..0000000 --- a/snowfall/modules/home/apps/steam/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ options, config, osConfig, lib, pkgs, namespace, ... }: - -#NOTE: steam must be installed system-wide. -# This module does nothing unless steam is enabled at the -# system level as well. This is only a separate toggle so -# that not every user gets steam files in their home. -with lib; with lib.${namespace}; let - cfg = config.${namespace}.apps.steam; - oscfg = osConfig.${namespace}.apps.steam; - impermanence = config.${namespace}.impermanence; -in { - options.${namespace}.apps.steam = with types; { - enable = mkEnableOption "steam"; - }; - - config = mkIf (cfg.enable && oscfg.enable) { - home.persistence.${impermanence.location} = { - directories = [{ - directory = ".local/share/Steam"; - method = "symlink"; - }]; - }; - - home.file = { - "Links/Steam Games".source = config.lib.file.mkOutOfStoreSymlink ( - "${config.home.homeDirectory}/.local/share/Steam/steamapps/common" - ); - }; - }; -} -- cgit v1.2.3