mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 13:13:26 +00:00
21 lines
499 B
Nix
21 lines
499 B
Nix
{ pkgs, ... }: {
|
|
config = {
|
|
programs = {
|
|
scmpuff = {
|
|
enable = true;
|
|
enableBashIntegration = false;
|
|
enableZshIntegration = false;
|
|
};
|
|
bash.enable = true;
|
|
zsh.enable = true;
|
|
};
|
|
|
|
nixpkgs.overlays =
|
|
[ (self: super: { zsh = pkgs.writeScriptBin "dummy" ""; }) ];
|
|
|
|
nmt.script = ''
|
|
assertFileNotRegex home-files/.zshrc '${pkgs.scmpuff} init -s'
|
|
assertFileNotRegex home-files/.bashrc '${pkgs.scmpuff} init -s'
|
|
'';
|
|
};
|
|
}
|