add helix

This commit is contained in:
zoe 2022-12-12 10:42:34 +01:00
parent 30cad3ceff
commit f8de066627
3 changed files with 20 additions and 1 deletions

17
helix/settings.nix Normal file
View File

@ -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";
};
};
}

View File

@ -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;

View File

@ -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