From cf272f9a633f4968b1f33ccc2c05469ee53a54d9 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Wed, 18 Sep 2024 00:26:34 -0300 Subject: [PATCH] fix: move home-manager essentials from packages -> common --- modules/home-manager/common.nix | 7 +++++++ modules/home-manager/packages.nix | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/home-manager/common.nix b/modules/home-manager/common.nix index 10049bd..13f8dfe 100644 --- a/modules/home-manager/common.nix +++ b/modules/home-manager/common.nix @@ -1,6 +1,13 @@ { pkgs, ... }: { + + # Let Home Manager install and manage itself. + programs.home-manager.enable = true; + + # Allow unfree packages + nixpkgs.config.allowUnfree = true; + home.sessionVariables = { NIXOS_OZONE_WL = "1"; QT_QPA_PLATFORM = "wayland"; diff --git a/modules/home-manager/packages.nix b/modules/home-manager/packages.nix index 7b704b1..e00283e 100644 --- a/modules/home-manager/packages.nix +++ b/modules/home-manager/packages.nix @@ -5,12 +5,6 @@ ./programs ]; - # Let Home Manager install and manage itself. - programs.home-manager.enable = true; - - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - # The home.packages option allows you to install Nix packages into your # environment. home.packages = with pkgs; [