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

View File

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