From 59e1ab3c3d0db0806f49718bb7d21eff7f0590bc Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Mon, 20 Apr 2026 17:14:54 +0200 Subject: [PATCH] yggdrasil: torchlight stuff --- flake.lock | 57 +++++++++++++++++++++++++++++++- flake.nix | 5 +++ modules/games/various-games.nix | 8 +++++ modules/users/cholli/default.nix | 2 ++ 4 files changed, 71 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 1375df3..fa903cc 100644 --- a/flake.lock +++ b/flake.lock @@ -659,6 +659,24 @@ "type": "github" } }, + "flake-utils": { + "inputs": { + "systems": "systems_4" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "git-hooks": { "inputs": { "flake-compat": [ @@ -2521,6 +2539,7 @@ "simple-nixos-mailserver": "simple-nixos-mailserver", "sops-nix": "sops-nix", "systems": "systems_3", + "titrack": "titrack", "treefmt-nix": "treefmt-nix_3", "zen-browser": "zen-browser", "zig-overlay": "zig-overlay", @@ -2654,6 +2673,21 @@ } }, "systems_4": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_5": { "flake": false, "locked": { "lastModified": 1681028828, @@ -2669,6 +2703,27 @@ "type": "github" } }, + "titrack": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs-unstable" + ] + }, + "locked": { + "lastModified": 1776569300, + "narHash": "sha256-LzXfD81tc/wOvyG0ODLfivSJ6dBo4q8MyfOi69E129U=", + "owner": "Daholli", + "repo": "TiTrack", + "rev": "1ff3100c4f35032b147069123e1fac98a2b220b4", + "type": "github" + }, + "original": { + "owner": "Daholli", + "repo": "TiTrack", + "type": "github" + } + }, "treefmt-nix": { "inputs": { "nixpkgs": [ @@ -2850,7 +2905,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_4" + "systems": "systems_5" }, "locked": { "lastModified": 1776646674, diff --git a/flake.nix b/flake.nix index 785aefa..6621e92 100644 --- a/flake.nix +++ b/flake.nix @@ -65,6 +65,11 @@ inputs.nixpkgs.follows = "nixpkgs-unstable"; }; + titrack = { + url = "github:Daholli/TiTrack"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; + ### # hyprland stuff hyprland = { diff --git a/modules/games/various-games.nix b/modules/games/various-games.nix index ab97c78..285b128 100644 --- a/modules/games/various-games.nix +++ b/modules/games/various-games.nix @@ -2,6 +2,10 @@ flake.modules.nixos.games = { inputs, pkgs, ... }: { + imports = [ + inputs.titrack.nixosModules.default + ]; + environment.systemPackages = with pkgs; [ prismlauncher starsector @@ -10,5 +14,9 @@ pyfa inputs.nixpkgs-master.legacyPackages.${pkgs.stdenv.hostPlatform.system}.rusty-path-of-building ]; + + services.titrack = { + enable = true; + }; }; } diff --git a/modules/users/cholli/default.nix b/modules/users/cholli/default.nix index 4e630e4..081aa78 100644 --- a/modules/users/cholli/default.nix +++ b/modules/users/cholli/default.nix @@ -58,6 +58,8 @@ topLevel: { "networkmanager" "sound" "tty" + "usb" + "systemd-journal" "wheel" ]; shell = pkgs.fish;