feat(services): add and enable tfolio module

This commit is contained in:
tux
2026-09-08 05:48:24 +05:30
parent 9f190436e9
commit 30929f3a7b
4 changed files with 123 additions and 22 deletions

133
flake.lock generated
View File

@@ -383,6 +383,24 @@
"type": "github" "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1678901627, "lastModified": 1678901627,
@@ -1242,6 +1260,21 @@
"type": "github" "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": { "nixpkgs-nixcord": {
"locked": { "locked": {
"lastModified": 1786711500, "lastModified": 1786711500,
@@ -1400,6 +1433,22 @@
} }
}, },
"nixpkgs_18": { "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": { "locked": {
"lastModified": 1770107345, "lastModified": 1770107345,
"narHash": "sha256-tbS0Ebx2PiA1FRW8mt8oejR0qMXmziJmPaU1d4kYY9g=", "narHash": "sha256-tbS0Ebx2PiA1FRW8mt8oejR0qMXmziJmPaU1d4kYY9g=",
@@ -1415,22 +1464,6 @@
"type": "github" "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": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1785454630, "lastModified": 1785454630,
@@ -1448,6 +1481,22 @@
} }
}, },
"nixpkgs_20": { "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": { "locked": {
"lastModified": 1774386573, "lastModified": 1774386573,
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=", "narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
@@ -1813,8 +1862,9 @@
"opencode": "opencode", "opencode": "opencode",
"serpantinum": "serpantinum", "serpantinum": "serpantinum",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"tfolio": "tfolio",
"tnvim": "tnvim", "tnvim": "tnvim",
"treefmt-nix": "treefmt-nix_2", "treefmt-nix": "treefmt-nix_3",
"trok": "trok", "trok": "trok",
"tshell": "tshell", "tshell": "tshell",
"vicinae-extensions": "vicinae-extensions", "vicinae-extensions": "vicinae-extensions",
@@ -2105,6 +2155,26 @@
"type": "github" "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": { "tnvim": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -2148,7 +2218,10 @@
}, },
"treefmt-nix_2": { "treefmt-nix_2": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_18" "nixpkgs": [
"tfolio",
"nixpkgs"
]
}, },
"locked": { "locked": {
"lastModified": 1786901030, "lastModified": 1786901030,
@@ -2165,6 +2238,24 @@
} }
}, },
"treefmt-nix_3": { "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": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"tshell", "tshell",
@@ -2187,7 +2278,7 @@
}, },
"trok": { "trok": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_19" "nixpkgs": "nixpkgs_20"
}, },
"locked": { "locked": {
"lastModified": 1788796165, "lastModified": 1788796165,
@@ -2209,7 +2300,7 @@
"nixpkgs" "nixpkgs"
], ],
"quickshell": "quickshell", "quickshell": "quickshell",
"treefmt-nix": "treefmt-nix_3" "treefmt-nix": "treefmt-nix_4"
}, },
"locked": { "locked": {
"lastModified": 1788466010, "lastModified": 1788466010,
@@ -2319,7 +2410,7 @@
"voxtype": { "voxtype": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_20" "nixpkgs": "nixpkgs_21"
}, },
"locked": { "locked": {
"lastModified": 1780004034, "lastModified": 1780004034,

View File

@@ -85,5 +85,6 @@
opencode.url = "github:anomalyco/opencode"; opencode.url = "github:anomalyco/opencode";
serpantinum.url = "github:ilyamiro/serpantinum"; serpantinum.url = "github:ilyamiro/serpantinum";
trok.url = "github:tuxdotrs/trok"; trok.url = "github:tuxdotrs/trok";
tfolio.url = "git+ssh://git@github.com/tuxdotrs/tfolio.git";
}; };
} }

View File

@@ -8,6 +8,7 @@
tnvim = inputs.tnvim.packages.${prev.stdenv.hostPlatform.system}.default; tnvim = inputs.tnvim.packages.${prev.stdenv.hostPlatform.system}.default;
tshell = inputs.tshell.packages.${prev.stdenv.hostPlatform.system}.default; tshell = inputs.tshell.packages.${prev.stdenv.hostPlatform.system}.default;
trok = inputs.trok.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; cyber-tux = inputs.cyber-tux.packages.${prev.stdenv.hostPlatform.system}.default;
wezterm-git = inputs.wezterm-flake.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}; hyprland-git = inputs.hyprland.packages.${prev.stdenv.hostPlatform.system};

View File

@@ -17,6 +17,7 @@
] ]
++ [ ++ [
inputs.trok.nixosModules.default inputs.trok.nixosModules.default
inputs.tfolio.nixosModules.default
]; ];
tnix = { tnix = {
@@ -39,7 +40,12 @@
}; };
networking = { networking = {
openssh.enable = true; openssh = {
enable = true;
ports = [
23
];
};
netbird-client.enable = true; netbird-client.enable = true;
}; };
@@ -125,6 +131,8 @@
firewall.enable = false; firewall.enable = false;
}; };
services.tfolio.enable = true;
system.stateVersion = "26.05"; system.stateVersion = "26.05";
}; };
} }