diff --git a/helix/settings.nix b/helix/settings.nix new file mode 100644 index 0000000..72be7d7 --- /dev/null +++ b/helix/settings.nix @@ -0,0 +1,17 @@ +{ pkgs, ... }: +let + myConfig = import ./config.nix; +in +{ + package = pkgs.helix; + enable = true; + settings = { + theme = "base16"; + lsp.display-messages = true; + keys.normal = { + # space.space = "file_picker"; + # space.w = ":w"; + # space.q = ":q"; + }; + }; +} diff --git a/home.nix b/home.nix index 3545ea1..98c8e59 100644 --- a/home.nix +++ b/home.nix @@ -7,6 +7,7 @@ let i3Custom = import ./i3/settings.nix; i3StatusCustom = import ./i3/i3status-rust.nix; dunstCustom = import ./dunst/settings.nix; + helixCustom = import ./helix/settings.nix; in { home-manager.users.zoe = { pkgs, ... }: { @@ -15,6 +16,7 @@ in programs.neovim = nvimCustom pkgs; programs.fish = fishCustom pkgs; programs.rofi = rofiCustom pkgs; + programs.helix = helixCustom pkgs; programs.i3status-rust = i3StatusCustom pkgs; services.dunst = dunstCustom pkgs; xsession.windowManager.i3 = i3Custom pkgs; diff --git a/sync.sh b/sync.sh index 51680ed..df4e361 100755 --- a/sync.sh +++ b/sync.sh @@ -7,7 +7,7 @@ git pull # cp -r /etc/nixos/ ./backup # copy over all the files to /etc/nixos/ -sudo cp -ru ./configuration.nix ./wallpaper.png ./dunst ./rofi ./i3 ./fish ./kitty ./nvim/ ./disks.nix ./programs.nix ./packages.nix ./home.nix ./services.nix ./user.nix /etc/nixos/ +sudo cp -ru ./configuration.nix ./wallpaper.png ./dunst ./helix ./rofi ./i3 ./fish ./kitty ./nvim/ ./disks.nix ./programs.nix ./packages.nix ./home.nix ./services.nix ./user.nix /etc/nixos/ cp -u ./.xinitrc $HOME cp -ur ./cursors $HOME/.local/share/icons