CrOS/home/crow/common/core/default.nix
TheWanderingCrow f4386922f4 switch to zsh
2025-07-23 17:04:37 -04:00

54 lines
920 B
Nix

{
config,
lib,
pkgs,
hostSpec,
...
}: let
platform =
if hostSpec.isDarwin
then "darwin"
else "nixos";
in {
imports = lib.flatten [
(map lib.custom.relativeToRoot [
"modules/common/host-spec.nix"
"modules/home"
])
#./${platform.nix}
./xdg.nix
./direnv.nix
./tmux.nix
./git.nix
./nushell.nix
./starship.nix
];
home.packages = with pkgs; [
screen
ouch
];
inherit hostSpec;
home = {
username = lib.mkDefault config.hostSpec.username;
homeDirectory = lib.mkDefault config.hostSpec.home;
stateVersion = lib.mkDefault "24.05";
sessionVariables = {
SHELL = "zsh";
TERM = "foot";
TERMINAL = "foot";
VISUAL = "nvim";
EDITOR = "nvim";
};
};
home.pointerCursor = {
name = "phinger-cursors-dark";
package = pkgs.phinger-cursors;
size = 32;
gtk.enable = true;
};
}