This commit is contained in:
Daniel Løvbrøtte Olsen 2019-07-16 22:42:29 +02:00
commit dc8bbfdeaf
2 changed files with 18 additions and 17 deletions

View File

@ -7,11 +7,20 @@
home.file.kitty = {
target = ".config/kitty/kitty.conf";
text = ''
term xterm-256color
#term xterm-256color
font_family monospace
font_size 12.0
background_opacity 0.7
map ctrl+shift+question change_font_size all +2.0
clear_all_shortcuts yes
map ctrl+shift+c copy_to_clipboard
map ctrl+shift+v paste_from_clipboard
map ctrl+plus change_font_size all +2.0
map ctrl+shift+plus change_font_size all -2.0
'';
};
@ -21,5 +30,4 @@ map ctrl+shift+question change_font_size all +2.0
pkgs.kitty
pkgs.ncurses.dev
];
}

View File

@ -1,18 +1,11 @@
self: super:
{
python = super.python.override {
packageOverrides = python-self: python-super: {
ntfy = python-super.ntfy.overrideAttrs (oldAttrs: {
src = super.fetchgit {
url = "https://github.com/dschep/ntfy";
rev = "1f6721cb6e41d3fd0de6ddb7a4f1302551e1c783";
ntfy = super.ntfy.overrideAttrs (old: rec {
src = super.fetchFromGitHub {
owner = "dschep";
repo = "ntfy";
rev = "d7a359bd6e4902e0067c62058179d8c678361154";
sha256 = "1n08w6h1narq3jwhd4k1p23hyysn6knaij0r1gpnakx9437h6yk4";
};
propagatedBuildInputs = with python-self; [ requests ruamel_yaml appdirs mock sleekxmpp emoji psutil dbus-python matrix-client ];
preBuild = ''
export HOME="$TMP"
'';
});
};
};
}