mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 13:13:26 +00:00
27 lines
443 B
Nix
27 lines
443 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.bash = {
|
|
enable = true;
|
|
enableCompletion = false;
|
|
|
|
logoutExtra = ''
|
|
clear-console
|
|
'';
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.bash_logout
|
|
assertFileContent \
|
|
home-files/.bash_logout \
|
|
${
|
|
builtins.toFile "logout-expected" ''
|
|
clear-console
|
|
''
|
|
}
|
|
'';
|
|
};
|
|
}
|