From 4b86cb268029dfd18b1c5a4954bba8d89255d7c2 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 10 Sep 2024 17:10:04 -0700 Subject: [PATCH] Add basic git config Switch to correct type for initExtra (I think) Replace sha256 values with lib.fakesha256 --- nixos/hosts/xps13_9350/home.nix | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/nixos/hosts/xps13_9350/home.nix b/nixos/hosts/xps13_9350/home.nix index e57b0bea..bac27c10 100644 --- a/nixos/hosts/xps13_9350/home.nix +++ b/nixos/hosts/xps13_9350/home.nix @@ -12,15 +12,21 @@ programs.home-manager.enable = true; wayland.windowManager.hyprland.enable = false; + programs.git = { + enable = true; + userName = "Joey Hafner"; + userEmail = "joey@jafner.net"; + }; + programs.zsh = { enable = true; dotDir = ".config/zsh"; enableCompletion = true; - initExtra = [ - "bindkey -e" - "bindkey '^[[1;5D' backward-word" - "bindkey '^[[1;5C' forward-word" - ]; + initExtra = '' + bindkey -e + bindkey '^[[1;5D' backward-word + bindkey '^[[1;5C' forward-word + ''; plugins = [ { name = "zsh-autosuggestions"; @@ -28,7 +34,7 @@ owner = "zsh-users"; repo = "zsh-autosuggestions"; rev = "v0.7.0"; - sha256 = "sha256-KLUYpUu4DHRumQZ3w59m9aTW6TBKMCXl2UcKi4uMd7w="; + sha256 = lib.fakeSha256; }; } { @@ -37,7 +43,7 @@ owner = "zsh-users"; repo = "zsh-completions"; rev = "v0.35.0"; - sha256 = "sha256-KLUYpUu4DHRumQZ3w59m9aTW6TBKMCXl2UcKi4uMd7w="; + sha256 = lib.fakeSha256; }; } { @@ -46,7 +52,7 @@ owner = "zsh-users"; repo = "zsh-syntax-highlighting"; rev = "v0.8.0"; - sha256 = "sha256-KLUYpUu4DHRumQZ3w59m9aTW6TBKMCXl2UcKi4uMd7w="; + sha256 = lib.fakeSha256; }; } { @@ -55,7 +61,7 @@ owner = "jirutka"; repo = "zsh-shift-select"; rev = "v0.1.1"; - sha256 = "sha256-KLUYpUu4DHRumQZ3w59m9aTW6TBKMCXl2UcKi4uMd7w="; + sha256 = lib.fakeSha256; }; } ];