about summary refs log tree commit diff
path: root/config/weechat/module.nix
blob: 439fe175ae8348c13dac7338ca042bb6c5524131 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{ pkgs, ... }:

{
  home.qyliss.dirs."state/weechat".activationScripts.git = ''
    ${pkgs.git}/bin/git init -q
    ${pkgs.git}/bin/git remote rm origin 2>/dev/null || true
    ${pkgs.git}/bin/git remote add origin git@github.com:alyssais/weechat-config
    chown -R qyliss .git
  '';

  environment.systemPackages = with pkgs.pkgsConfigured; [ weechat ];
}