First mostly working version of the config

This commit is contained in:
Random936
2024-05-17 21:13:48 -07:00
parent 726f7fdf44
commit 987b94bf5d
10 changed files with 61 additions and 19 deletions

View File

@@ -4,13 +4,44 @@
homeDirectory = "/home/random";
};
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [
meslo-lgs-nf
feh
clang
cargo
neofetch
microsoft-edge
nextcloud-client
bitwarden-cli
bitwarden
discord
isync
emacsPackages.all-the-icons-nerd-fonts
];
home.file = {
".scripts".source = ../dotfiles/.scripts;
".mbsyncrc".source = ../dotfiles/.mbsyncrc;
".Xresources".source = ../dotfiles/.Xresources;
".screenlayout".source = ../dotfiles/.screenlayout;
".config/i3/config".source = ../dotfiles/.config/i3/config;
".local/share/fonts".source = ../dotfiles/.local/share/fonts;
".config/rofi/config.rasi".source = ../dotfiles/.config/rofi/config.rasi;
".config/polybar/config.ini".source = ../dotfiles/.config/polybar/config.ini;
# Emacs files
".emacs".source = ../dotfiles/.emacs;
".emacs.d/config.org".source = ../dotfiles/.emacs.d/config.org;
".emacs.d/terminal.org".source = ../dotfiles/.emacs.d/terminal.org;
".emacs.d/functions.org".source = ../dotfiles/.emacs.d/functions.org;
".emacs.d/email.org".source = ../dotfiles/.emacs.d/email.org;
".emacs.d/org.org".source = ../dotfiles/.emacs.d/org.org;
".emacs.d/lsp.org".source = ../dotfiles/.emacs.d/lsp.org;
};
programs = {
home-manager.enable = true;
emacs.enable = true;
zoxide.enable = true;
eza.enable = true;
fzf.enable = true;
@@ -27,13 +58,19 @@
enableCompletion = true;
enableAutosuggestions = true;
syntaxHighlighting.enable = true;
shellAliases = {
update-system = "sudo nixos-rebuild switch --flake ~/dotfiles";
update-user = "home-manager switch --flake ~/dotfiles";
update-all = "update-system && update-user";
};
plugins = [
{ name = "powerlevel10k-config"; src = ../dotfiles; file = ".p10k.zsh"; }
{
name = "powerlevel10k-config";
src = ../dotfiles;
file = ".p10k.zsh";
}
];
zplug = {