This commit is contained in:
Michael Thomson 2024-02-27 11:52:31 -05:00
parent 5c429c360e
commit 6d007ba2f7
No known key found for this signature in database
3 changed files with 31 additions and 4 deletions

View File

@ -10,6 +10,8 @@
home = "/Users/mthomson";
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
environment.systemPackages = with pkgs; [
hello
];
@ -19,9 +21,10 @@
useGlobalPkgs = true;
useUserPackages = true;
users = {
"mthomson" = import ./home.nix;
mthomson = import ./home.nix;
};
};
programs.zsh.enable = true;
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;

View File

@ -3,14 +3,14 @@
{
imports = [
../../modules/home-manager/wezterm
../../modules/home-manager/zsh
];
home.username = "mthomson";
#home.homeDirectory = "/Users/mthomson";
home.homeDirectory = "/Users/mthomson";
home.stateVersion = "23.11";
home.packages = with pkgs; [
hello
cowsay
btop
];
programs.home-manager.enable = true;

View File

@ -0,0 +1,24 @@
{ pkgs, config, ... }:
{
programs = {
zsh = {
enable = true;
oh-my-zsh = {
enable = false;
};
antidote = {
enable = true;
plugins = [
"zsh-users/zsh-syntax-highlighting"
"zsh-users/zsh-autosuggestions"
"zsh-users/zsh-history-substring-search"
];
};
};
starship = {
enable = true;
enableZshIntegration = true;
};
};
}