fix: move home-manager essentials from packages -> common

This commit is contained in:
Alexandre Cavalheiro 2024-09-18 00:26:34 -03:00
parent fc96d1d0ae
commit cf272f9a63
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 7 additions and 6 deletions

View file

@ -1,6 +1,13 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
home.sessionVariables = { home.sessionVariables = {
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "wayland";

View file

@ -5,12 +5,6 @@
./programs ./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 # The home.packages option allows you to install Nix packages into your
# environment. # environment.
home.packages = with pkgs; [ home.packages = with pkgs; [