config/hosts/laptop/home.nix

41 lines
1,000 B
Nix
Raw Normal View History

2024-09-27 19:01:35 -07:00
{
2025-04-19 10:35:31 -07:00
inputs,
2024-09-27 19:01:35 -07:00
config,
pkgs,
2025-03-28 21:09:28 -07:00
lib,
userSettings,
2025-04-21 14:46:41 -07:00
systemSettings,
2024-09-27 19:01:35 -07:00
...
}: {
2025-05-03 21:41:46 -07:00
imports =
[
inputs.nixvim.homeManagerModules.nixvim
#set up nixvim
# ../../modules/nixvim
]
++ lib.optionals userSettings.darwinTiling [../../modules/macos/tiling/sketchybar-home.nix];
2025-04-21 14:46:41 -07:00
programs = import ../../modules/shared/homeManagerPrograms.nix {inherit inputs config pkgs lib userSettings systemSettings;};
2024-09-27 19:01:35 -07:00
2025-04-18 15:55:34 -07:00
home = {
inherit (userSettings) username;
# homeDirectory = systemSettings.homeConfig;
2025-04-19 22:13:44 -07:00
# shell = pkgs.fish;
2025-04-18 15:55:34 -07:00
stateVersion = "23.05"; # Please read the comment before changing.
2024-09-27 19:01:35 -07:00
2025-04-30 12:42:30 -07:00
packages = pkgs.callPackage ../../modules/shared/packages.nix {inherit systemSettings;};
2024-09-27 19:01:35 -07:00
2025-05-03 21:41:46 -07:00
# file = {
# ".config/sketchybar" = {
# source = ../../modules/macos/tiling/sketchybar;
# recursive = true;
# onChange = "${pkgs.sketchybar}/bin/sketchybar --reload";
# };
# };
2025-04-18 15:55:34 -07:00
sessionPath = [
"$HOME/.emacs.d/bin"
];
2024-09-27 19:01:35 -07:00
};
}