mirror of
https://github.com/nix-community/home-manager
synced 2024-12-21 02:23:16 +00:00
26 lines
411 B
Nix
26 lines
411 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 \
|
|
${
|
|
builtins.toFile "logout-expected" ''
|
|
clear-console
|
|
''
|
|
}
|
|
'';
|
|
};
|
|
}
|