summaryrefslogtreecommitdiff
path: root/.config/home-manager/home.nix
diff options
context:
space:
mode:
Diffstat (limited to '.config/home-manager/home.nix')
-rw-r--r--.config/home-manager/home.nix53
1 files changed, 53 insertions, 0 deletions
diff --git a/.config/home-manager/home.nix b/.config/home-manager/home.nix
new file mode 100644
index 0000000..fdaf22d
--- /dev/null
+++ b/.config/home-manager/home.nix
@@ -0,0 +1,53 @@
+{ config, pkgs, ... }:
+
+{
+ 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 = pkgs.fetchFromGitHub {
+ owner = "zsh-users";
+ repo = "zsh-autosuggestions";
+ rev = "v0.8.0";
+ sha256 = lib.fakeSha256;
+ };
+ }
+ {
+ name = "zsh-syntax-highlighting";
+ src = pkgs.fetchFromGitHub {
+ owner = "zsh-users";
+ repo = "zsh-syntax-highlighting";
+ rev = "v0.7.0";
+ sha256 = lib.fakeSha256;
+ };
+ }
+ ];
+ }
+}