fix: remove syncthing module and zsh-git-prompt
https://github.com/NixOS/nixpkgs/pull/437745
This commit is contained in:
parent
c69c54d0f9
commit
1bf32e0177
3 changed files with 1 additions and 25 deletions
|
@ -12,7 +12,6 @@ let
|
||||||
"gpg"
|
"gpg"
|
||||||
#"gtk"
|
#"gtk"
|
||||||
#"keyring"
|
#"keyring"
|
||||||
"syncthing"
|
|
||||||
"tmux"
|
"tmux"
|
||||||
"xdg"
|
"xdg"
|
||||||
"zsh"
|
"zsh"
|
||||||
|
@ -433,7 +432,7 @@ in
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
#services.poweralertd.enable = true;
|
services.syncthing.enable = true;
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.dadada.home.syncthing;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.dadada.home.syncthing = {
|
|
||||||
enable = mkEnableOption "Enable Syncthing config";
|
|
||||||
};
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
services.syncthing = {
|
|
||||||
enable = true;
|
|
||||||
tray = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -35,7 +35,6 @@ in
|
||||||
plugins = [
|
plugins = [
|
||||||
];
|
];
|
||||||
initContent = ''
|
initContent = ''
|
||||||
source ${pkgs.zsh-git-prompt}/share/zsh-git-prompt/zshrc.sh
|
|
||||||
source ${pkgs.fzf}/share/fzf/key-bindings.zsh
|
source ${pkgs.fzf}/share/fzf/key-bindings.zsh
|
||||||
source ${pkgs.fzf}/share/fzf/completion.zsh
|
source ${pkgs.fzf}/share/fzf/completion.zsh
|
||||||
eval "$(repo setup --root ~/src)"
|
eval "$(repo setup --root ~/src)"
|
||||||
|
@ -76,7 +75,6 @@ in
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
fzf
|
fzf
|
||||||
eza
|
eza
|
||||||
zsh-git-prompt
|
|
||||||
tmux
|
tmux
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue