From a4869c9722e6041994bbb19cea993ee0bb39a9da Mon Sep 17 00:00:00 2001 From: ozpv <39195175+ozpv@users.noreply.github.com> Date: Mon, 26 Feb 2024 02:19:20 +0000 Subject: working but incomplete --- home.nix | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 home.nix (limited to 'home.nix') 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"; + }; + } + ]; + }; +} -- cgit v1.2.3