diff --git a/hosts/by-name/moby/nixos-bg-01.png b/hosts/by-name/moby/nixos-bg-01.png new file mode 100644 index 000000000..5d3c86766 Binary files /dev/null and b/hosts/by-name/moby/nixos-bg-01.png differ diff --git a/hosts/by-name/moby/polyfill.nix b/hosts/by-name/moby/polyfill.nix index 9691c909c..190c4b9c2 100644 --- a/hosts/by-name/moby/polyfill.nix +++ b/hosts/by-name/moby/polyfill.nix @@ -1,8 +1,15 @@ # this file configures preferences per program, without actually enabling any programs. # the goal is to separate the place where we decide *what* to use (i.e. `sane.programs.firefox.enable = true` -- at the toplevel) # from where we specific how that thing should behave *if* it's in use. +# +# NixOS backgrounds: +# - +# - { pkgs, sane-lib, ... }: +let + bg-01 = ./nixos-bg-01.png; +in { sane.programs.firefox.config = { # compromise impermanence for the sake of usability @@ -36,6 +43,7 @@ # - close is 16th entry SXMO_BEMENU_LANDSCAPE_LINES = "11"; # default 8 SXMO_BEMENU_PORTRAIT_LINES = "16"; # default 16 + SXMO_BG_IMG = "${bg-01}"; SXMO_LOCK_IDLE_TIME = "15"; # how long between screenoff -> lock -> back to screenoff (default: 8) # gravity: how far to tilt the device before the screen rotates # for a given setting, normal <-> invert requires more movement then left <-> right