mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 19:29:47 +01:00
23 lines
337 B
Nix
23 lines
337 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.bash = {
|
||
|
enable = true;
|
||
|
|
||
|
logoutExtra = ''
|
||
|
clear-console
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.bash_logout
|
||
|
assertFileContent \
|
||
|
home-files/.bash_logout \
|
||
|
${./logout-expected.txt}
|
||
|
'';
|
||
|
};
|
||
|
}
|