diff options
| author | kdam0 <me@kumardamani.net> | 2023-05-30 19:24:27 +0000 |
|---|---|---|
| committer | kdam0 <me@kumardamani.net> | 2023-06-16 16:26:39 +0000 |
| commit | f4859d06b9250ab61737b9c0a8f511fb74b7b635 (patch) | |
| tree | a2c29e636f98884cc3e77635746255b3435bfbd7 | |
| parent | 73ae7cb7ca36156f28d2d422f8a344b5c3b61cbd (diff) | |
updates to home profile
| -rw-r--r-- | nixpkgs/.config/nixpkgs/per-user/kdam0-home/home.nix | 49 |
1 files changed, 34 insertions, 15 deletions
diff --git a/nixpkgs/.config/nixpkgs/per-user/kdam0-home/home.nix b/nixpkgs/.config/nixpkgs/per-user/kdam0-home/home.nix index 77dabbe..82c36ca 100644 --- a/nixpkgs/.config/nixpkgs/per-user/kdam0-home/home.nix +++ b/nixpkgs/.config/nixpkgs/per-user/kdam0-home/home.nix @@ -2,16 +2,14 @@ { home.username = "kdam0"; home.homeDirectory = "/home/kdam0"; - - programs.home-manager.enable = true; - programs.zsh = { - enable = true; - defaultKeymap = "viins"; - initExtra = '' - source ${config.home.homeDirectory}/.p10k.zsh - bindkey '^ ' autosuggest-accept - ''; - shellAliases = { + home.sessionPath = [ + "$HOME/.config/nixpkgs/common/scripts" + ]; + home.sessionVariables = { + EDITOR = "nvim"; + TERM = "xterm-256color"; + }; + home.shellAliases = { l = "ls -l"; ll = "ls -al"; ".." = "cd .."; @@ -20,11 +18,22 @@ gst = "git status"; cdwl = "nvim ~/.config/nixpkgs/common/dwl_4/config.h"; chm = "nvim ~/.config/nixpkgs/per-user/kdam0-home/home.nix"; + clsp = "nvim ~/.config/nixpkgs/common/nvim/plugins/lspconfig.lua"; cnix = "nvim ~/.config/nixpkgs/per-user/kdam0-home/configuration.nix"; up = "sudo nixos-rebuild switch"; clean = "sudo nix-collect-garbage -d"; search = "nix search nixpkgs $@"; - }; + conf = "ranger ~/.config/nixpkgs/common/"; + }; + + programs.home-manager.enable = true; + programs.zsh = { + enable = true; + defaultKeymap = "viins"; + initExtra = '' + source ${config.home.homeDirectory}/.p10k.zsh + bindkey '^ ' autosuggest-accept + ''; zplug = { enable = true; plugins = [ @@ -40,6 +49,16 @@ prefix = "C-a"; terminal = "screen-256color"; keyMode = "vi"; + plugins = with pkgs; [ + tmuxPlugins.sensible + { + plugin = tmuxPlugins.resurrect; + extraConfig = "set -g @resurrect-strategy-nvim 'session'"; + } + tmuxPlugins.pain-control + tmuxPlugins.yank + ]; + sensibleOnTop = true; }; programs.git = { enable = true; @@ -214,12 +233,12 @@ }; bg-wallpaper = { Unit = { - Description = "Auto refresh wallpaper"; + Description = "Auto refresh wallpaper"; After = "network-online.target"; }; Service = { Type = "simple"; - ExecStart = "${config.home.homeDirectory}/bg.sh"; + ExecStart = "${config.home.homeDirectory}/.config/nixpkgs/common/scripts/walp"; TimeoutStopSec = "10"; KillMode = "process"; KillSignal = "SIGKILL"; @@ -245,8 +264,8 @@ systemd.user.startServices = true; # Source app specific configs - home.file."bg.sh".source = ../../common/bg.sh; - home.file."start.sh".source = ../../common/start.sh; + #home.file."bg.sh".source = ../../common/bg.sh; + #home.file."start.sh".source = ../../common/start.sh; home.file.".config/foot/foot.ini".source = ../../common/foot/foot.ini; home.file.".config/wofi/style.css".source = ../../common/wofi/style.css; home.file.".config/mako/config".source = ../../common/mako/config; |
