From a798185a176e60868e140700a72fe1740ad43cfd Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 7 May 2023 02:16:39 -0400 Subject: [PATCH] Format --- home-manager/linux/programs/sway.nix | 10 +++--- packages/sommelier/default.nix | 48 ++++++++++++++-------------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/home-manager/linux/programs/sway.nix b/home-manager/linux/programs/sway.nix index a970673..17cc781 100644 --- a/home-manager/linux/programs/sway.nix +++ b/home-manager/linux/programs/sway.nix @@ -68,11 +68,11 @@ in with lib; { gtk = true; }; extraSessionCommands = '' - # Make qt theming work - export QT_QPA_PLATFORMTHEME="qt5ct" - # Prepare for wob - export WOBSOCK="$XDG_RUNTIME_DIR/wob.sock" - rm -rf $WOBSOCK && mkfifo $WOBSOCK + # Make qt theming work + export QT_QPA_PLATFORMTHEME="qt5ct" + # Prepare for wob + export WOBSOCK="$XDG_RUNTIME_DIR/wob.sock" + rm -rf $WOBSOCK && mkfifo $WOBSOCK ''; config = { # Startup wob diff --git a/packages/sommelier/default.nix b/packages/sommelier/default.nix index d3cca2a..9b156bc 100644 --- a/packages/sommelier/default.nix +++ b/packages/sommelier/default.nix @@ -1,29 +1,29 @@ - { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland-scanner - , libxkbcommon, mesa, pixman, xorg, wayland, gtest }: +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland-scanner +, libxkbcommon, mesa, pixman, xorg, wayland, gtest }: - stdenv.mkDerivation { - pname = "sommelier"; - version = "104.0"; +stdenv.mkDerivation { + pname = "sommelier"; + version = "104.0"; - src = fetchFromGitHub { - owner = "akvadrako"; - repo = "sommelier"; - rev = "31a42a2f8c649ae82a3239284bced7ef39a569ef"; - sha256 = "sha256-ZTvH4mn7eK2e/1u6FVVpR7aaeAQ+JxSa4nhXWLxSfvo="; - }; + src = fetchFromGitHub { + owner = "akvadrako"; + repo = "sommelier"; + rev = "31a42a2f8c649ae82a3239284bced7ef39a569ef"; + sha256 = "sha256-ZTvH4mn7eK2e/1u6FVVpR7aaeAQ+JxSa4nhXWLxSfvo="; + }; - nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ]; - buildInputs = [ libxkbcommon mesa pixman wayland xorg.libxcb ]; + nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ]; + buildInputs = [ libxkbcommon mesa pixman wayland xorg.libxcb ]; - doCheck = true; - nativeCheckInputs = [ gtest ]; + doCheck = true; + nativeCheckInputs = [ gtest ]; - meta = with lib; { - homepage = - "https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/main/vm_tools/sommelier/"; - description = "Nested Wayland compositor with support for X11 forwarding"; - maintainers = with maintainers; [ qyliss ]; - license = licenses.bsd3; - platforms = platforms.linux; - }; - } + meta = with lib; { + homepage = + "https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/main/vm_tools/sommelier/"; + description = "Nested Wayland compositor with support for X11 forwarding"; + maintainers = with maintainers; [ qyliss ]; + license = licenses.bsd3; + platforms = platforms.linux; + }; +}