Browse Source

weechat plugins! sort of

rework-profiles
parent
commit
27e1feeb4f
Signed by: govanify GPG Key ID: DE62E1E2A6145556
5 changed files with 27 additions and 16 deletions
  1. +1
    -0
      README.md
  2. +2
    -15
      common/default.nix
  3. +2
    -1
      common/headfull.nix
  4. +8
    -0
      common/xdg.nix
  5. +14
    -0
      pkgs/weechat.nix

+ 1
- 0
README.md View File

@ -15,3 +15,4 @@ TODo list sorted by priority:
* workflow: set up patchouli to have regular and automated backups
* server: make firefox sync to fujiwara and setup fujiwara
* xdg: nixpkgs PR, check if xdg patches actually work
* locale: sync mozc/ibus settings, saner defaults, fix top left autocomplete wayland bug

+ 2
- 15
common/default.nix View File

@ -1,17 +1,4 @@
{ config, pkgs, ... }:
with pkgs;
let
my-python-packages = python-packages: with python-packages; [
pandas
requests
pillow
matrix-nio
Logbook
# other python packages you want
];
python-pkgs = python3.withPackages my-python-packages;
in
{
{ config, pkgs, ... }: {
imports =
[
./security.nix
@ -30,7 +17,7 @@ in
# basic set of tools & ssh
environment.systemPackages = with pkgs; [
wget neovim tmux git git-crypt
rsync imagemagick python-pkgs mosh gnupg
rsync imagemagick mosh gnupg
];
programs.mosh.enable = true;


+ 2
- 1
common/headfull.nix View File

@ -4,12 +4,13 @@
[
./graphical.nix
./mail.nix
./../pkgs/weechat.nix
];
# TODO: make weechat work out better
environment.systemPackages = with pkgs; [
weechat cmus # dev
cmus # dev
cargo python clang meson ninja
asciinema gnumake ranger file
texlive.combined.scheme-medium


+ 8
- 0
common/xdg.nix View File

@ -51,6 +51,14 @@
sed -i 's/"\.mozilla"/"\.local\/share\/mozilla"/' $(grep -Rl '"\.mozilla"')
'';
});
# would be nice to get this working
#freecad = super.freecad.overrideAttrs (oldAttrs: rec {
# postPatch = ''
# sed -i 's/"\.FreeCAD"/"\.config\/FreeCAD"/' $(grep -Rl '"\.FreeCAD"')
# '';
#});
};
};


+ 14
- 0
pkgs/weechat.nix View File

@ -0,0 +1,14 @@
{ pkgs, config, ... }:
let
weechat = pkgs.weechat.override {
configure = {availablePlugins, ...}:
{
scripts = with pkgs.weechatScripts; [ weechat-autosort weechat-matrix ];
};
};
in
{
environment.systemPackages = with pkgs; [
weechat
];
}

Loading…
Cancel
Save