summaryrefslogtreecommitdiff
path: root/home-manager/home.nix
diff options
context:
space:
mode:
authorozpv <39195175+ozpv@users.noreply.github.com>2024-02-25 17:47:40 -0600
committerGitHub <noreply@github.com>2024-02-25 17:47:40 -0600
commitbb675fe4b438a56c461b73283733efccd73b53d2 (patch)
treee15b3d2f146a77813710a07372d98d51b64900a6 /home-manager/home.nix
parentdf9191b6c4b9c0cf03bb959f777e9ca4a2cee395 (diff)
init
Diffstat (limited to 'home-manager/home.nix')
-rw-r--r--home-manager/home.nix53
1 files changed, 53 insertions, 0 deletions
diff --git a/home-manager/home.nix b/home-manager/home.nix
new file mode 100644
index 0000000..fdaf22d
--- /dev/null
+++ b/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;
+ };
+ }
+ ];
+ }
+}