changed home-manager/default to common, added non-starship zsh prompt.

This commit is contained in:
Gabe Venberg 2024-05-07 22:20:11 -05:00
parent 80ac00a7cf
commit f180fc20f1
10 changed files with 64 additions and 24 deletions

View file

@ -1,30 +0,0 @@
{
config,
pkgs,
lib,
...
}: {
home.stateVersion = "23.11"; # Please read the comment before changing.
# Let Home Manager install and manage itself on non-nixos systems.
programs.home-manager.enable = config.targets.genericLinux.enable;
# enable flakes on non-nixos systems
nix =
lib.mkIf config.targets.genericLinux.enable
{
package = pkgs.nix;
settings = {
experimental-features = ["nix-command" "flakes"];
max-jobs = "auto";
};
gc = {
automatic = true;
frequency = "weekly";
options = "--delete-older-than 30d";
};
};
imports = [
../hostopts.nix
];
}