diff --git a/home/lib/chromeos.nix b/home/lib/chromeos.nix index f55c307..5ea4f8a 100644 --- a/home/lib/chromeos.nix +++ b/home/lib/chromeos.nix @@ -3,12 +3,19 @@ xdg.enable = true; xdg.mime.enable = true; + # make linux gui apps appear in chromeos launcher xdg.configFile."systemd/user/cros-garcon.service.d/override.conf".text = '' [Service] Environment="PATH=%h/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/local/games:/usr/sbin:/usr/bin:/usr/games:/sbin:/bin" Environment="XDG_DATA_DIRS=/nix/var/nix/profiles/default/share:%h/.nix-profile/share:%h/.local/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop:%h/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share" ''; + # make linux gui title bars not quite so bright + xdg.configFile."systemd/user/sommelier-x@0.service.d/override.conf".text = '' + [Service] + Environment="SOMMELIER_FRAME_COLOR=#313244" + ''; + # activate NixGL wrapper for Crostini nixGL.packages = inputs.nixgl.packages; nixGL.defaultWrapper = "mesa";