Bat: configure using home-manager
This commit is contained in:
parent
10fc83b906
commit
4f5a944834
2 changed files with 11 additions and 0 deletions
9
roles/common/programs/bat.nix
Normal file
9
roles/common/programs/bat.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
home-manager = {
|
||||
users.toast.programs.bat = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -11,10 +11,12 @@
|
|||
./bash.nix
|
||||
./git.nix
|
||||
./starship.nix
|
||||
,/bat.nix
|
||||
];
|
||||
# Some programs dont have a programs.*.enable option, so I install their package here
|
||||
environment.systemPackages = with pkgs; [
|
||||
speedtest-cli
|
||||
# Bat has a home manager module, but I want it to be available system wide
|
||||
bat
|
||||
file
|
||||
nvd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue