Common: configure micro

This commit is contained in:
Toast 2023-07-03 12:31:25 +02:00
parent 79006c509b
commit ad8081bba3
2 changed files with 18 additions and 1 deletions

View file

@ -4,6 +4,7 @@
imports = [ imports = [
./htop.nix ./htop.nix
./nix.nix ./nix.nix
./micro.nix
./nix-index.nix ./nix-index.nix
./command-not-found.nix ./command-not-found.nix
]; ];
@ -11,7 +12,6 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
speedtest-cli speedtest-cli
bat bat
micro
nvd nvd
ncdu ncdu
tree tree

View file

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
home-manager = {
users.toast = { config, pkgs, ... }:
{
programs.micro = {
enable = true;
settings = {
clipboard = "terminal";
indentchar = "|";
softwrap = true;
};
};
};
};
}