fixed some breaking changes and added emacs
This commit is contained in:
parent
0b19777712
commit
27e09be80f
12
README.md
12
README.md
|
@ -1,19 +1,25 @@
|
|||
# Dependencies
|
||||
|
||||
- kitty
|
||||
- emacs-gtk
|
||||
|
||||
# Resources
|
||||
|
||||
Some of the resources I referenced to write this home-manager config
|
||||
|
||||
# Manuals
|
||||
## Manuals
|
||||
|
||||
- [Home Manager Manual](https://nix-community.github.io/home-manager/)
|
||||
- [Nix Tour](https://nixcloud.io/tour/?id=introduction/nix)
|
||||
- [NixOS & Flakes Book](https://nixos-and-flakes.thiscute.world/introduction/)
|
||||
|
||||
# Git Repos
|
||||
## Git Repos
|
||||
|
||||
- [Gerg - nix-templates](https://github.com/Gerg-L/nix-templates)
|
||||
- [fufexan](https://github.com/fufexan/dotfiles/tree/main) mainly used for my helix config
|
||||
- [nix-starter-config](https://m7.rs/git/nix-starter-config/)
|
||||
|
||||
|
||||
# Videos
|
||||
## Videos
|
||||
|
||||
- [vimjoyer - youtube](https://www.youtube.com/@vimjoyer)
|
||||
|
|
7
emacs/default.nix
Normal file
7
emacs/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
# set the package to a dummy package, install with system package manager
|
||||
# specifically use the emacs gtk package
|
||||
};
|
||||
}
|
|
@ -26,6 +26,7 @@
|
|||
./shell
|
||||
./programs
|
||||
./helix
|
||||
./emacs
|
||||
];
|
||||
|
||||
extraSpecialArgs = {inherit inputs system;};
|
||||
|
|
14
home.nix
14
home.nix
|
@ -6,12 +6,24 @@
|
|||
sessionVariables = {
|
||||
EDITOR = "hx";
|
||||
BAT_THEME = "ansi";
|
||||
DOTNET_ROOT = "$HOME/.dotnet";
|
||||
};
|
||||
sessionPath = [
|
||||
"$HOME/.local/bin"
|
||||
"$HOME/.dotnet"
|
||||
];
|
||||
shellAliases = {
|
||||
ls = "eza";
|
||||
la = "eza -la";
|
||||
l = "eza -l";
|
||||
gaa = "git add .";
|
||||
gcm = "git commit -m";
|
||||
gpom = "git push -u origin main";
|
||||
};
|
||||
packages = with pkgs; [
|
||||
wineWowPackages.unstable
|
||||
eza
|
||||
bat
|
||||
pandoc
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -4,15 +4,9 @@
|
|||
enableCompletion = true;
|
||||
bashrcExtra = ''
|
||||
|
||||
if [ -d "$HOME/.local/bin" ] ; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
PS1='[\u@\h \W]\$ '
|
||||
|
||||
# DotNet
|
||||
PATH=$PATH:~/.dotnet
|
||||
export DOTNET_ROOT=~/.dotnet
|
||||
|
||||
''; # this should be changed to use home.sessionVariables
|
||||
'';
|
||||
|
||||
profileExtra = ''
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
syntaxHighlighting.enable = true;
|
||||
autocd = true;
|
||||
defaultKeymap = null;
|
||||
dotDir = ".config/zsh";
|
||||
dotDir = "~/.config/zsh";
|
||||
history = {
|
||||
ignoreSpace = true;
|
||||
path = "${config.xdg.dataHome}/zsh/zsh_history";
|
||||
|
@ -49,13 +49,8 @@
|
|||
};
|
||||
}
|
||||
];
|
||||
shellAliases = {
|
||||
ls = "eza";
|
||||
la = "eza -la";
|
||||
l = "eza -l";
|
||||
};
|
||||
initExtra = ''
|
||||
source ~/.config/zsh/.p10k.zsh
|
||||
source $HOME/.config/zsh/.p10k.zsh
|
||||
'';
|
||||
localVariables = {
|
||||
POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD = true;
|
||||
|
|
Loading…
Reference in a new issue