refactoring a bit

This commit is contained in:
Tyrel Souza 2023-01-02 10:54:36 -05:00
parent 3af7c0d27a
commit 1901824037
3 changed files with 3 additions and 10 deletions

View File

@ -16,10 +16,9 @@
modules = [ modules = [
home-manager.darwinModules.home-manager home-manager.darwinModules.home-manager
../hosts/ts-tl-mbp/default.nix ../hosts/ts-tl-mbp/default.nix
../hosts/_common/home-manager.nix
../hosts/_common/ts-tl-mbp/fonts.nix
../hosts/ts-tl-mbp/home-manager.nix ../hosts/ts-tl-mbp/home-manager.nix
../hosts/ts-tl-mbp/brew.nix ../hosts/ts-tl-mbp/brew.nix
../hosts/_common/fonts.nix
]; ];
}; };
}; };

View File

@ -1,9 +1,5 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.tyrel = { pkgs, ... }: {
programs.home-manager.enable = true;
home.stateVersion = "22.05"; home.stateVersion = "22.05";
home.sessionVariables = { home.sessionVariables = {
PAGER = "less -R"; PAGER = "less -R";
@ -74,7 +70,4 @@
recursive = true; recursive = true;
}; };
}; };
}; # -- HomeManager
} }

View File

@ -9,6 +9,8 @@
XDG_CONFIG_HOME = "/Users/tyrel/.config"; XDG_CONFIG_HOME = "/Users/tyrel/.config";
}; };
# Load Common Packages
common = pkgs.callPackage ../_common/homepkgs.nix {};
# XDG CONFIGS # XDG CONFIGS
xdg.configFile = { xdg.configFile = {
@ -17,7 +19,6 @@
recursive = true; recursive = true;
}; };
}; };
}; # -- HomeManager }; # -- HomeManager
} }