mirror of
https://github.com/nix-community/home-manager
synced 2024-10-22 13:07:26 +02:00
28 lines
430 B
Nix
28 lines
430 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.dircolors = {
|
||
|
enable = true;
|
||
|
|
||
|
settings = {
|
||
|
OTHER_WRITABLE = "30;46";
|
||
|
".sh" = "01;32";
|
||
|
".csh" = "01;32";
|
||
|
};
|
||
|
|
||
|
extraConfig = ''
|
||
|
# Extra dircolors configuration.
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent \
|
||
|
home-files/.dir_colors \
|
||
|
${./settings-expected.conf}
|
||
|
'';
|
||
|
};
|
||
|
}
|