From 0a34d0ac3301988da603a94fb869be12aecd0b74 Mon Sep 17 00:00:00 2001 From: Sijmen Date: Sat, 5 Nov 2022 21:22:31 +0100 Subject: [PATCH] Move env variables to common non-hm conf --- common/configuration.nix | 8 ++++++++ common/home-manager/home.nix | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/common/configuration.nix b/common/configuration.nix index 39fb15a..e86a231 100644 --- a/common/configuration.nix +++ b/common/configuration.nix @@ -16,6 +16,14 @@ keyMap = "us"; }; + environment.sessionVariables = rec { + MOZ_ENABLE_WAYLAND = "1"; + NIXOS_OZONE_WL = "1"; + QT_QPA_PLATFORM = "wayland"; + SDL_VIDEODRIVER = "wayland"; + EDITOR = "nvim"; + }; + i18n = { defaultLocale = "en_US.UTF-8"; supportedLocales = [ diff --git a/common/home-manager/home.nix b/common/home-manager/home.nix index 0ae1e98..df0a330 100644 --- a/common/home-manager/home.nix +++ b/common/home-manager/home.nix @@ -65,14 +65,6 @@ zip ]; - sessionVariables = { - MOZ_ENABLE_WAYLAND = 1; - NIXOS_OZONE_WL = 1; - QT_QPA_PLATFORM = "wayland"; - SDL_VIDEODRIVER = "wayland"; - EDITOR = "nvim"; - }; - shellAliases = { ".." = "cd .."; "..." = "cd ../..";