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 = { home.file.kitty = {
target = ".config/kitty/kitty.conf"; target = ".config/kitty/kitty.conf";
text = '' text = ''
term xterm-256color #term xterm-256color
font_family monospace font_family monospace
font_size 12.0 font_size 12.0
background_opacity 0.7 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.kitty
pkgs.ncurses.dev pkgs.ncurses.dev
]; ];
} }

View File

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