{"id":25998770,"url":"https://github.com/pucklaj/eruption-nix","last_synced_at":"2026-06-09T14:31:50.889Z","repository":{"id":280836511,"uuid":"942937253","full_name":"PucklaJ/eruption-nix","owner":"PucklaJ","description":"Nix derivation and configuration for eruption","archived":false,"fork":false,"pushed_at":"2025-03-05T15:01:00.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-26T10:45:00.245Z","etag":null,"topics":["eruption","keyboard","mouse","nixos","roccat"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PucklaJ.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}},"created_at":"2025-03-04T23:16:51.000Z","updated_at":"2025-03-05T15:01:04.000Z","dependencies_parsed_at":"2025-03-05T15:48:03.434Z","dependency_job_id":null,"html_url":"https://github.com/PucklaJ/eruption-nix","commit_stats":null,"previous_names":["pucklaj/eruption-nix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PucklaJ/eruption-nix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PucklaJ%2Feruption-nix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PucklaJ%2Feruption-nix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PucklaJ%2Feruption-nix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PucklaJ%2Feruption-nix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PucklaJ","download_url":"https://codeload.github.com/PucklaJ/eruption-nix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PucklaJ%2Feruption-nix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34112225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["eruption","keyboard","mouse","nixos","roccat"],"created_at":"2025-03-05T17:37:55.540Z","updated_at":"2026-06-09T14:31:50.869Z","avatar_url":"https://github.com/PucklaJ.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eruption for NixOS\n\nA nix derivation and relating services to run [eruption](https://github.com/eruption-project/eruption) on NixOS.\n\n## Configuration\n\nTo set eruption up on NixOS you need to add the following to your nixos `configuration.nix`:\n\n```nix\n{ config, pkgs, ... }:\nlet\n  eruption = import (pkgs.fetchFromGitHub {\n    owner = \"PucklaJ\";\n    repo = \"eruption-nix\";\n    rev = \"bf98eac32eaba0c7bf04d6a634d6858822af2890\";\n    sha256 = \"sha256-KDffFn2RAiUY3jNfdS1ofbqBDZeVpVgXByI1PhRqfSk=\";\n  });\nin\n{\n  # D-Bus is required for the org.eruption dbus service\n  services.dbus.enable = true;\n  services.dbus.packages = [\n    eruption.eruption\n  ];\n\n  # PolicyKit is needed to authentication of the dbus service\n  security.polkit.enable = true;\n\n  # udev for the custom udev rules\n  services.udev.enable = true;\n  services.udev.packages = [\n    eruption.eruption\n  ];\n\n  # Install the binaries eruption, eruptionctl etc.\n  # This also installs the polkit actions required for dbus authentication\n  environment.systemPackages = with pkgs; [\n    gtk3\n    eruption.eruption\n  ];\n\n  # Some files need to be set up directly on the root filesystem\n  environment.etc = eruption.etc // {\n  };\n  environment.variables = {\n    GSETTINGS_SCHEMA_DIR = \"${pkgs.gtk3}/share/gsettings-schemas/gtk+3-${pkgs.gtk3.version}/glib-2.0/schemas\";\n  };\n  systemd.services = eruption.system_services // {\n  };\n  systemd.user.services = eruption.user_services // {\n  };\n}\n```\n\nSince currently the `eruption-install-files.service` removes the `/var/lib/eruption/profiles` folder a separate service to setup a modified profile is necessary:\n\n```nix\n  ...\n\n  systemd.services = eruption.system_services // {\n    \"setup-eruption-profile\" = {\n      description = \"Setup current profile for Eruption\";\n      after = [ \"network.target\" ];\n      before = [ \"eruption.service\" ];\n      wantedBy = [ \"multi-user.target\" ];\n\n      serviceConfig = {\n        Type = \"oneshot\";\n      };\n\n      script = ''\n        mkdir -p /var/lib/eruption/profiles\n        ln -sf /path/to/profile-name.profile.state /var/lib/eruption/profiles/\n      '';\n      enable = true;\n    };\n  };\n\n  ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpucklaj%2Feruption-nix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpucklaj%2Feruption-nix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpucklaj%2Feruption-nix/lists"}