{"id":15171796,"url":"https://github.com/itsshamed/tsrk-nix-flex","last_synced_at":"2026-01-27T10:01:38.395Z","repository":{"id":226750371,"uuid":"769538947","full_name":"ItsShamed/tsrk-nix-flex","owner":"ItsShamed","description":"Nix config I guess? Mirror of https://git.tsrk.me/tsrk/tsrk-nix-flex","archived":false,"fork":false,"pushed_at":"2026-01-17T15:06:52.000Z","size":16768,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-17T22:29:50.548Z","etag":null,"topics":["dotfiles","dotfiles-linux","linux","linux-desktop","linux-gaming","nix","nix-flake","nix-flakes","nixos","nixos-configuration","nixos-dotfiles","nixpkgs","nixpkgs-overlay","osu","osu-wine"],"latest_commit_sha":null,"homepage":"https://git.tsrk.me/tsrk/tsrk-nix-flex","language":"Nix","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ItsShamed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-09T11:13:40.000Z","updated_at":"2026-01-17T15:06:56.000Z","dependencies_parsed_at":"2024-04-17T09:44:35.923Z","dependency_job_id":"f85929b9-788d-43ca-a7d4-de6daccab418","html_url":"https://github.com/ItsShamed/tsrk-nix-flex","commit_stats":{"total_commits":578,"total_committers":1,"mean_commits":578.0,"dds":0.0,"last_synced_commit":"b655f1aa8573c4703046fc4037027a57797e6cec"},"previous_names":["itsshamed/tsrk-nix-flex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ItsShamed/tsrk-nix-flex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsShamed%2Ftsrk-nix-flex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsShamed%2Ftsrk-nix-flex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsShamed%2Ftsrk-nix-flex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsShamed%2Ftsrk-nix-flex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ItsShamed","download_url":"https://codeload.github.com/ItsShamed/tsrk-nix-flex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsShamed%2Ftsrk-nix-flex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28811495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotfiles","dotfiles-linux","linux","linux-desktop","linux-gaming","nix","nix-flake","nix-flakes","nixos","nixos-configuration","nixos-dotfiles","nixpkgs","nixpkgs-overlay","osu","osu-wine"],"created_at":"2024-09-27T09:04:03.380Z","updated_at":"2026-01-27T10:01:38.390Z","avatar_url":"https://github.com/ItsShamed.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nCopyright (c) 2026 tsrk. \u003ctsrk@tsrk.me\u003e\nThis file is licensed under the MIT License.\nSee the LICENSE file in the repository root for more info\n--\u003e\n\n\u003c!-- SPDX-License-Identifier: MIT --\u003e\n\n\u003e [!NOTE]\n\u003e ~~If you are viewing this on GitHub, this is a mirror of the real repo at\n\u003e https://git.tsrk.me/tsrk/tsrk-nix-flex~~\n\u003e\n\u003e Redoing infra right now. For the time being this is the official source.\n\n# tsrk. Nix Flex\n\nThis is my all-in-one NixOS and Home-Manager configuration.\n\nThe structure of this configuration is largely inspired by the one used by\nEPITA for their NixOS deployment[^1].\n\n[^1]: https://gitlab.cri.epita.fr/forge/infra/nixpie\n\n\u003cdiv align=\"center\"\u003e\n\n\u003c!-- TODO: Add showcase screenshot --\u003e\n\n\u003c/div\u003e\n\n## File structure\n\n### Homes\n\nThe `homes/` directory contains standalone Home-Manager configurations.\nCurrently, this is used for the Intel NUC provided by my school for which I was\nonly allowed to install Arch Linux on it.\nThis might be also used for the actual configuration of my school session.\n\n### Hosts\n\nThe `hosts/` directory contains NixOS systems declarations for different hosts\nI have.\n\n### Lib\n\nThe `lib/` diretory contains some util functions to avoid a lot of boilerplate\nconfig to do by hand.\n\n### Modules\n\nThe `modules/` directory contains modules for NixOS, Nixvim and Home-Manager. \n\nYou can use them by using the `nixosModules`, or `homeManagerModules` outputs:\n\n```nix\n{\n  description = \"My cool flake\";\n\n  inputs = {\n    nixpkgs.url = \"github:NixOS/nixpkgs/nixos-24.11\";\n\n    homeManager = {\n      url = \"github:nix-community/home-manager/release-24.11\";\n      inputs.nixpkgs.follows = \"nixpkgs\";\n    };\n\n    tsrk = \"github:ItsShamed/tsrk-nix-flex\";\n  };\n    \n  outputs = { nixpkgs, homeManager, tsrk } @ inputs:\n  let\n    system = \"x86_64-linux\";\n    pkgs = import nixpkgs {\n      inherit system;\n      config.allowUnfree = true;\n    };\n  in\n  {\n    nixosConfigurations.my-configuration = nixpkgs.lib.nixosSystem {\n      system = \"x86_64-linux\";\n      modules = [\n        tsrk.nixosModules.packages\n        {\n          tsrk.packages.pkgs.base.enable = true;\n          nixpkgs = { inherit pkgs; };\n        }\n      ];\n    };\n    homeConfigurations.\"my-home\" = homeManager.lib.homeManagerConfiguration {\n      inherit pkgs;\n  \n      modules = [\n        tsrk.homeManagerModules.packages\n        {\n          tsrk.packages.core.enable = true;\n        }\n      ];\n    };\n  };\n}\n```\n\n### Overlays\n\nThe `overlays/` directory contains nixpkgs overlays for various packages so that\nthey fit for my needs without having to inline them in modules.\n\n### Packages\n\nThe `pkgs/` directory contains custom packages not available on upstream\n`nixpkgs`, and a standalone binary of my Nixvim configuration (`nvim-cirno`).\n\n### Profiles\n\nThe `profiles/` directory contains a set of NixOS and Home-Manager modules with\ndefaults configurations.\n\nLike modules, you can use them via the `nixosModules` output. To use them you\njust have to prefix the name of the profile you want to use with `profile-`.\n\n### Secrets management\n\nI use [agenix](https://github.com/ryantm/agenix) to manage secrets needed for\nmy NixOS configurations.\n\n## Licensing\n\nAll unencrypted files which include a license header are licensed under the MIT\nLicense.\nPlease refer to the [LICENSE](./LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsshamed%2Ftsrk-nix-flex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsshamed%2Ftsrk-nix-flex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsshamed%2Ftsrk-nix-flex/lists"}