Skip to content

Commit

Permalink
Merge pull request #23 from flokli/fix-rotation
Browse files Browse the repository at this point in the history
Fix rotation
  • Loading branch information
flokli authored Jul 17, 2024
2 parents 97755d5 + 0edd702 commit dec7bd2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion nix/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@
services.cage = {
enable = true;
user = "kiosk";
program = "${pkgs.fossbeamer}/bin/fossbeamer --default-config=${../default-config.json} https://example.com";
program = pkgs.writers.writeBash "run-cage-program" ''
${pkgs.wlr-randr}/bin/wlr-randr --output HDMI-A-1 --transform 180
${pkgs.fossbeamer}/bin/fossbeamer --default-config=${../default-config.json} https://wip.bar
'';
environment = {
GST_PLUGIN_SYSTEM_PATH_1_0 = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" (with pkgs.gst_all_1;[
gstreamer
Expand Down
8 changes: 4 additions & 4 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"branch": "nixos-unstable",
"description": "Nix Packages collection",
"homepage": null,
"owner": "NixOS",
"owner": "flokli",
"repo": "nixpkgs",
"rev": "9e3825de8dbe84ae96c09000bc73ea1b82e7529b",
"sha256": "0jqhxwmqa5mriwmp41wjsi3c6srp9njk9qrv531d7f1dyzz0hnwh",
"rev": "d7c6aaa12742fc4b7b7151885c24b96a90159baf",
"sha256": "1847wrkm765fj92jjs8b4vabqj34rnxzkxp3hi9l5iyl4ycs7qar",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/9e3825de8dbe84ae96c09000bc73ea1b82e7529b.tar.gz",
"url": "https://github.com/flokli/nixpkgs/archive/d7c6aaa12742fc4b7b7151885c24b96a90159baf.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}

0 comments on commit dec7bd2

Please sign in to comment.