diff --git a/flake.lock b/flake.lock index 056e944..39fb6df 100644 --- a/flake.lock +++ b/flake.lock @@ -383,6 +383,24 @@ "type": "github" } }, + "flake-parts_6": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_3" + }, + "locked": { + "lastModified": 1788450739, + "narHash": "sha256-glZLQlzIn1fXH6PazR2iUmTo7kzzyYSshrWhLS9TqCU=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "31729ca8cbdb4fa927b34e5f4353e6a83f39e993", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1678901627, @@ -1242,6 +1260,21 @@ "type": "github" } }, + "nixpkgs-lib_3": { + "locked": { + "lastModified": 1788057806, + "narHash": "sha256-DTQSMxzDWmT0zhguthvegnVkn7CFqGCv4IHCzk5ZUpM=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "596e2e3940e09b2abbeb03f75fa1828c57fcd72c", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixpkgs-nixcord": { "locked": { "lastModified": 1786711500, @@ -1400,6 +1433,22 @@ } }, "nixpkgs_18": { + "locked": { + "lastModified": 1740019556, + "narHash": "sha256-vn285HxnnlHLWnv59Og7muqECNMS33mWLM14soFIv2g=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "dad564433178067be1fbdfcce23b546254b6d641", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_19": { "locked": { "lastModified": 1770107345, "narHash": "sha256-tbS0Ebx2PiA1FRW8mt8oejR0qMXmziJmPaU1d4kYY9g=", @@ -1415,22 +1464,6 @@ "type": "github" } }, - "nixpkgs_19": { - "locked": { - "lastModified": 1740547748, - "narHash": "sha256-Ly2fBL1LscV+KyCqPRufUBuiw+zmWrlJzpWOWbahplg=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "3a05eebede89661660945da1f151959900903b6a", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "nixpkgs_2": { "locked": { "lastModified": 1785454630, @@ -1448,6 +1481,22 @@ } }, "nixpkgs_20": { + "locked": { + "lastModified": 1740547748, + "narHash": "sha256-Ly2fBL1LscV+KyCqPRufUBuiw+zmWrlJzpWOWbahplg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "3a05eebede89661660945da1f151959900903b6a", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_21": { "locked": { "lastModified": 1774386573, "narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=", @@ -1813,8 +1862,9 @@ "opencode": "opencode", "serpantinum": "serpantinum", "sops-nix": "sops-nix", + "tfolio": "tfolio", "tnvim": "tnvim", - "treefmt-nix": "treefmt-nix_2", + "treefmt-nix": "treefmt-nix_3", "trok": "trok", "tshell": "tshell", "vicinae-extensions": "vicinae-extensions", @@ -2105,6 +2155,26 @@ "type": "github" } }, + "tfolio": { + "inputs": { + "flake-parts": "flake-parts_6", + "nixpkgs": "nixpkgs_18", + "treefmt-nix": "treefmt-nix_2" + }, + "locked": { + "lastModified": 1788826290, + "narHash": "sha256-UyB41ImRVE6JMc3Sxn8TAVs5VkBn/9JarsC5je7Kt4E=", + "ref": "refs/heads/main", + "rev": "e4c0ff9c8fe04aee63fe1c48dc23774bd1828a7b", + "revCount": 18, + "type": "git", + "url": "ssh://git@github.com/tuxdotrs/tfolio.git" + }, + "original": { + "type": "git", + "url": "ssh://git@github.com/tuxdotrs/tfolio.git" + } + }, "tnvim": { "inputs": { "nixpkgs": [ @@ -2148,7 +2218,10 @@ }, "treefmt-nix_2": { "inputs": { - "nixpkgs": "nixpkgs_18" + "nixpkgs": [ + "tfolio", + "nixpkgs" + ] }, "locked": { "lastModified": 1786901030, @@ -2165,6 +2238,24 @@ } }, "treefmt-nix_3": { + "inputs": { + "nixpkgs": "nixpkgs_19" + }, + "locked": { + "lastModified": 1786901030, + "narHash": "sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "27b3b12a8e6375f28ebe122f07d230ca5459bbfa", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, + "treefmt-nix_4": { "inputs": { "nixpkgs": [ "tshell", @@ -2187,7 +2278,7 @@ }, "trok": { "inputs": { - "nixpkgs": "nixpkgs_19" + "nixpkgs": "nixpkgs_20" }, "locked": { "lastModified": 1788796165, @@ -2209,7 +2300,7 @@ "nixpkgs" ], "quickshell": "quickshell", - "treefmt-nix": "treefmt-nix_3" + "treefmt-nix": "treefmt-nix_4" }, "locked": { "lastModified": 1788466010, @@ -2319,7 +2410,7 @@ "voxtype": { "inputs": { "flake-utils": "flake-utils_3", - "nixpkgs": "nixpkgs_20" + "nixpkgs": "nixpkgs_21" }, "locked": { "lastModified": 1780004034, diff --git a/flake.nix b/flake.nix index 4b99de0..002c0cc 100644 --- a/flake.nix +++ b/flake.nix @@ -85,5 +85,6 @@ opencode.url = "github:anomalyco/opencode"; serpantinum.url = "github:ilyamiro/serpantinum"; trok.url = "github:tuxdotrs/trok"; + tfolio.url = "git+ssh://git@github.com/tuxdotrs/tfolio.git"; }; } diff --git a/modules/flake/overlays.nix b/modules/flake/overlays.nix index 77579aa..184a81f 100644 --- a/modules/flake/overlays.nix +++ b/modules/flake/overlays.nix @@ -8,6 +8,7 @@ tnvim = inputs.tnvim.packages.${prev.stdenv.hostPlatform.system}.default; tshell = inputs.tshell.packages.${prev.stdenv.hostPlatform.system}.default; trok = inputs.trok.packages.${prev.stdenv.hostPlatform.system}.default; + tfolio = inputs.tfolio.packages.${prev.stdenv.hostPlatform.system}.default; cyber-tux = inputs.cyber-tux.packages.${prev.stdenv.hostPlatform.system}.default; wezterm-git = inputs.wezterm-flake.packages.${prev.stdenv.hostPlatform.system}.default; hyprland-git = inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}; diff --git a/modules/hosts/alpha/config.nix b/modules/hosts/alpha/config.nix index 1e33eaf..4be5f17 100644 --- a/modules/hosts/alpha/config.nix +++ b/modules/hosts/alpha/config.nix @@ -17,6 +17,7 @@ ] ++ [ inputs.trok.nixosModules.default + inputs.tfolio.nixosModules.default ]; tnix = { @@ -39,7 +40,12 @@ }; networking = { - openssh.enable = true; + openssh = { + enable = true; + ports = [ + 23 + ]; + }; netbird-client.enable = true; }; @@ -125,6 +131,8 @@ firewall.enable = false; }; + services.tfolio.enable = true; + system.stateVersion = "26.05"; }; }