diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2024-02-26 02:19:20 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-26 02:19:20 +0000 |
| commit | a4869c9722e6041994bbb19cea993ee0bb39a9da (patch) | |
| tree | 2a3129592eb8c25000319ed8f064407be4f94c3d /home.nix | |
| parent | 44235db0fd5e3de832f36f099593df28f296e2e0 (diff) | |
working but incomplete
Diffstat (limited to 'home.nix')
| -rw-r--r-- | home.nix | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/home.nix b/home.nix new file mode 100644 index 0000000..c2fe013 --- /dev/null +++ b/home.nix @@ -0,0 +1,51 @@ +{ config, pkgs, libs, ... }: + +{ + imports = [ ./firefox.nix ]; + + home.username = "ozpv"; + home.homeDirectory = "/home/ozpv"; + home.stateVersion = "23.11"; # Please read the comment before changing. + + home.packages = with pkgs; [ + neofetch + ]; + + home.sessionVariables = { + EDITOR = "vim"; + }; + + programs.home-manager.enable = true; + + programs.zsh = { + enable = true; + shellAliases = { + cp = "cp -v"; + mv = "mv -v"; + rm = "rm -v"; + mkdir = "mkdir -v -p"; + rmdir = "rmdir -v"; + ls = "ls -hla --color=auto"; + grep = "grep --color=auto"; + vim-basic = "vim"; + vim = "nvim"; + }; + + plugins = [ + { + name = "zsh-autosuggestions"; + src = fetchGit { + url = "https://github.com/zsh-users/zsh-autosuggestions.git"; + rev = "c3d4e576c9c86eac62884bd47c01f6faed043fc5"; + }; + } + { + name = "zsh-syntax-highlighting"; + src = fetchGit { + url = "https://github.com/zsh-users/zsh-syntax-highlighting.git"; + rev = "e0165eaa730dd0fa321a6a6de74f092fe87630b0"; + }; + } + ]; + }; +} |
