{"id":28086943,"url":"https://github.com/nukdokplex/tssp-nix","last_synced_at":"2025-09-23T20:04:35.283Z","repository":{"id":292750810,"uuid":"938259451","full_name":"nukdokplex/tssp-nix","owner":"nukdokplex","description":"turing-smart-screen-python by mathoudebine on NixOS (linux only)","archived":false,"fork":false,"pushed_at":"2025-05-12T20:59:51.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-30T07:46:14.965Z","etag":null,"topics":["nix","nix-flake","nixos-module","nixpkgs","python","turing-smart-screen"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nukdokplex.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}},"created_at":"2025-02-24T17:08:50.000Z","updated_at":"2025-05-13T06:38:34.000Z","dependencies_parsed_at":"2025-05-13T11:32:49.887Z","dependency_job_id":null,"html_url":"https://github.com/nukdokplex/tssp-nix","commit_stats":null,"previous_names":["nukdokplex/tssp-nix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nukdokplex/tssp-nix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukdokplex%2Ftssp-nix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukdokplex%2Ftssp-nix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukdokplex%2Ftssp-nix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukdokplex%2Ftssp-nix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nukdokplex","download_url":"https://codeload.github.com/nukdokplex/tssp-nix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukdokplex%2Ftssp-nix/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265849023,"owners_count":23838198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["nix","nix-flake","nixos-module","nixpkgs","python","turing-smart-screen"],"created_at":"2025-05-13T11:27:59.068Z","updated_at":"2025-09-23T20:04:30.222Z","avatar_url":"https://github.com/nukdokplex.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tssp-nix\nturing-smart-screen-python by mathoudebine Nix package + NixOS module\n\n![tssp-nix in action](https://repository-images.githubusercontent.com/938259451/e5c6c107-5b34-45be-89d2-1b04cc035bc4 \"tssp-nix in action\")\n\n## Warning\n\nThis project have no support for macOS because I don't have any device with that OS. If you have [supported screen](https://github.com/mathoudebine/turing-smart-screen-python?tab=readme-ov-file#-supported-smart-screens-models) and device running macOS you can help this project with PR implementing darwin module and became maintainer.\n\n## Installation\n\n### With flakes\n\nJust add `tssp-nix` to your flake's inputs and import NixOS module.\n\n```nix\n{\n  description = \"My NixOS flake\";\n  inputs = {\n    nixpkgs.url = \"github:NixOS/nixpkgs/nixos-unstable\";\n    tssp = {\n      url = \"github:nukdokplex/tssp-nix\";\n      inputs.nixpkgs.follows = \"nixpkgs\";\n      inputs.git-hooks-nix.follows = \"\";\n    };\n  };\n  outputs =\n    { nixpkgs, tssp, ... }:\n    {\n      nixosConfigurations.\"«hostname»\" = nixpkgs.lib.nixosSystem {\n        system = \"x86_64-linux\";\n        modules = [\n          tssp.nixosModules.default\n          ./configuration.nix\n        ];\n      };\n    };\n}\n```\n\n### Without flakes\n\nSomewhere in you host configuration:\n\n```nix\nlet\n  tssp = pkgs.fetchFromGitHub {\n    owner = \"nukdokplex\";\n    repo = \"tssp-nix\";\n    rev = \"...\";\n    sha256 = \"...\";\n  };\nin\n{\n  imports = [ (import tssp).nixosModules.default ];\n}\n```\n\nNote: tssp-nix is using flake-compat.\n\n## Usage\n\nHere is example configuration:\n\n```nix\n  services.turing-smart-screen-python = {\n    enable = true;\n    fonts = with pkgs.tsspPackages.resources.fonts; [\n      geforce\n      generale-mono\n      jetbrains-mono\n      racespace\n      roboto\n      roboto-mono\n    ];\n    themes = with pkgs.tsspPackages.resources.themes; [\n      LandscapeEarth\n      Landscape6Grid\n    ];\n    settings = {\n      config = {\n        COM_PORT = \"AUTO\";\n        THEME = \"Landscape6Grid\";\n        HW_SENSORS = \"PYTHON\";\n        ETH = \"enp42s0\";\n        WLO = \"enp5s0\";\n        CPU_FAN = \"AUTO\";\n      };\n      display = {\n        REVISION = \"A\";\n        BRIGHTNESS = 20;\n        DISPLAY_REVERSE = false;\n      };\n    };\n  };\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnukdokplex%2Ftssp-nix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnukdokplex%2Ftssp-nix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnukdokplex%2Ftssp-nix/lists"}