manage helix with home manager and install helix

This commit is contained in:
Gustav Bruhn 2025-03-18 18:34:39 +01:00
parent 667c7fad37
commit 76357f1da8
3 changed files with 19 additions and 2 deletions

View File

@ -105,8 +105,8 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
helix
nil nil
discord
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget # wget
]; ];

View File

@ -1,6 +1,9 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = [
../../modules/home-manager/helix.nix
];
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
# manage. # manage.
home.username = "bruhng"; home.username = "bruhng";

View File

@ -0,0 +1,14 @@
{...}:
{
programs.helix = {
enable = true;
defaultEditor = true;
settings ={
theme = "catppuccin_mocha";
editor = {
line-number = "relative";
lsp.display-messages = true;
};
};
};
}