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
|
Some of the resources I referenced to write this home-manager config
|
||||||
|
|
||||||
# Manuals
|
## Manuals
|
||||||
|
|
||||||
- [Home Manager Manual](https://nix-community.github.io/home-manager/)
|
- [Home Manager Manual](https://nix-community.github.io/home-manager/)
|
||||||
- [Nix Tour](https://nixcloud.io/tour/?id=introduction/nix)
|
- [Nix Tour](https://nixcloud.io/tour/?id=introduction/nix)
|
||||||
- [NixOS & Flakes Book](https://nixos-and-flakes.thiscute.world/introduction/)
|
- [NixOS & Flakes Book](https://nixos-and-flakes.thiscute.world/introduction/)
|
||||||
|
|
||||||
# Git Repos
|
## Git Repos
|
||||||
|
|
||||||
- [Gerg - nix-templates](https://github.com/Gerg-L/nix-templates)
|
- [Gerg - nix-templates](https://github.com/Gerg-L/nix-templates)
|
||||||
- [fufexan](https://github.com/fufexan/dotfiles/tree/main) mainly used for my helix config
|
- [fufexan](https://github.com/fufexan/dotfiles/tree/main) mainly used for my helix config
|
||||||
- [nix-starter-config](https://m7.rs/git/nix-starter-config/)
|
- [nix-starter-config](https://m7.rs/git/nix-starter-config/)
|
||||||
|
|
||||||
|
|
||||||
# Videos
|
## Videos
|
||||||
|
|
||||||
- [vimjoyer - youtube](https://www.youtube.com/@vimjoyer)
|
- [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
|
./shell
|
||||||
./programs
|
./programs
|
||||||
./helix
|
./helix
|
||||||
|
./emacs
|
||||||
];
|
];
|
||||||
|
|
||||||
extraSpecialArgs = {inherit inputs system;};
|
extraSpecialArgs = {inherit inputs system;};
|
||||||
|
|
14
home.nix
14
home.nix
|
@ -6,12 +6,24 @@
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
EDITOR = "hx";
|
EDITOR = "hx";
|
||||||
BAT_THEME = "ansi";
|
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; [
|
packages = with pkgs; [
|
||||||
wineWowPackages.unstable
|
wineWowPackages.unstable
|
||||||
eza
|
eza
|
||||||
bat
|
bat
|
||||||
pandoc
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,9 @@
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
bashrcExtra = ''
|
bashrcExtra = ''
|
||||||
|
|
||||||
if [ -d "$HOME/.local/bin" ] ; then
|
PS1='[\u@\h \W]\$ '
|
||||||
PATH="$HOME/.local/bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# DotNet
|
'';
|
||||||
PATH=$PATH:~/.dotnet
|
|
||||||
export DOTNET_ROOT=~/.dotnet
|
|
||||||
|
|
||||||
''; # this should be changed to use home.sessionVariables
|
|
||||||
|
|
||||||
profileExtra = ''
|
profileExtra = ''
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
autocd = true;
|
autocd = true;
|
||||||
defaultKeymap = null;
|
defaultKeymap = null;
|
||||||
dotDir = ".config/zsh";
|
dotDir = "~/.config/zsh";
|
||||||
history = {
|
history = {
|
||||||
ignoreSpace = true;
|
ignoreSpace = true;
|
||||||
path = "${config.xdg.dataHome}/zsh/zsh_history";
|
path = "${config.xdg.dataHome}/zsh/zsh_history";
|
||||||
|
@ -49,13 +49,8 @@
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
shellAliases = {
|
|
||||||
ls = "eza";
|
|
||||||
la = "eza -la";
|
|
||||||
l = "eza -l";
|
|
||||||
};
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
source ~/.config/zsh/.p10k.zsh
|
source $HOME/.config/zsh/.p10k.zsh
|
||||||
'';
|
'';
|
||||||
localVariables = {
|
localVariables = {
|
||||||
POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD = true;
|
POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD = true;
|
||||||
|
|
Loading…
Reference in a new issue