refactor: extract shell setup
This commit is contained in:
parent
f6f01771ab
commit
c2afb2c5d1
18 changed files with 33 additions and 58 deletions
13
shell/bat.nix
Normal file
13
shell/bat.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ theme, ... }:
|
||||
|
||||
let
|
||||
theme_name = "Solarized (${theme})";
|
||||
in
|
||||
{
|
||||
programs = {
|
||||
bat = {
|
||||
enable = true;
|
||||
config.theme = theme_name;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue