From 1c7e7aa63a3bc2aac87e6b2ee499e53e785d5802 Mon Sep 17 00:00:00 2001 From: Emma Thorpe Date: Thu, 29 May 2025 17:14:31 +0100 Subject: [PATCH] style: fix indenting --- emmathorpe/swaywm.nix | 15 +++++------ flake.nix | 62 +++++++++++++++++++++---------------------- 2 files changed, 38 insertions(+), 39 deletions(-) diff --git a/emmathorpe/swaywm.nix b/emmathorpe/swaywm.nix index c48f652..974dad5 100644 --- a/emmathorpe/swaywm.nix +++ b/emmathorpe/swaywm.nix @@ -13,16 +13,16 @@ in wrapperFeatures.gtk = true; extraSessionCommands = '' # QT - export QT_QPA_PLATFORM="wayland;xcb" - export QT_QPA_PLATFORMTHEME=qt5ct + export QT_QPA_PLATFORM="wayland;xcb" + export QT_QPA_PLATFORMTHEME=qt5ct # SDL - export SDL_VIDEODRIVER=wayland + export SDL_VIDEODRIVER=wayland # Java - export _JAVA_AWT_WM_NONREPARENTING=1 + export _JAVA_AWT_WM_NONREPARENTING=1 # Misc - export CLUTTER_BACKEND=wayland - export WINIT_UNIX_BACKEND=x11 - export MOZ_ENABLE_WAYLAND=1 + export CLUTTER_BACKEND=wayland + export WINIT_UNIX_BACKEND=x11 + export MOZ_ENABLE_WAYLAND=1 ''; extraPackages = with pkgs; [ brightnessctl foot grim swayidle swaylock i3status-rust sway-launcher-desktop dunst pavucontrol ]; }; @@ -32,5 +32,4 @@ in font-awesome ]; }; - } diff --git a/flake.nix b/flake.nix index e188b6a..b0876c7 100644 --- a/flake.nix +++ b/flake.nix @@ -8,35 +8,35 @@ }; outputs = inputs @ { self, nixpkgs, home-manager, ... }: { - nixosConfigurations.emmathorpe-mbp = nixpkgs.lib.nixosSystem { - system = "aarch64-linux"; - specialArgs = { inherit inputs; }; - modules = [ - ./system/machine/MBP-Asahi/configuration.nix - ./emmathorpe/user.nix - ./emmathorpe/swaywm.nix - home-manager.nixosModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.users.emmathorpe = import ./emmathorpe/home.nix; - } - ]; - }; - nixosConfigurations.emmathorpe-x1c = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; - specialArgs = { inherit inputs; }; - modules = [ - ./system/machine/X1/configuration.nix - ./emmathorpe/user.nix - ./emmathorpe/swaywm.nix - home-manager.nixosModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.users.emmathorpe = import ./emmathorpe/home.nix; - } - ]; - }; - }; + nixosConfigurations.emmathorpe-mbp = nixpkgs.lib.nixosSystem { + system = "aarch64-linux"; + specialArgs = { inherit inputs; }; + modules = [ + ./system/machine/MBP-Asahi/configuration.nix + ./emmathorpe/user.nix + ./emmathorpe/swaywm.nix + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.emmathorpe = import ./emmathorpe/home.nix; + } + ]; + }; + nixosConfigurations.emmathorpe-x1c = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = { inherit inputs; }; + modules = [ + ./system/machine/X1/configuration.nix + ./emmathorpe/user.nix + ./emmathorpe/swaywm.nix + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.emmathorpe = import ./emmathorpe/home.nix; + } + ]; + }; + }; }