update
This commit is contained in:
parent
5c429c360e
commit
6d007ba2f7
@ -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;
|
||||
|
@ -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;
|
||||
|
24
modules/home-manager/zsh/default.nix
Normal file
24
modules/home-manager/zsh/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user