mirror of
https://github.com/nix-community/home-manager
synced 2024-12-26 03:39:47 +01: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'
|
|
'';
|
|
};
|
|
}
|