massive lsp evaluated rewrite
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
{ pkgs, ... }: {
|
||||
imports = [ ./base.nix ];
|
||||
config = {
|
||||
home-manager.users.jawz = {
|
||||
xdg.configFile."gallery-dl/config.json".source =
|
||||
../../dotfiles/gallery-dl/config.json;
|
||||
services.lorri.enable = true;
|
||||
programs = {
|
||||
xdg.configFile = {
|
||||
"gallery-dl/config.json".source = ../dotfiles/gallery-dl/config.json;
|
||||
};
|
||||
bash = {
|
||||
shellAliases = {
|
||||
comic =
|
||||
@@ -15,27 +15,25 @@
|
||||
dl = "download -u jawz -i";
|
||||
};
|
||||
initExtra = ''
|
||||
list_root="${config.xdg.configHome}"/jawz/lists/jawz
|
||||
list_root=$XDG_CONFIG_HOME/jawz/lists/jawz
|
||||
export LW=$list_root/watch.txt
|
||||
export LI=$list_root/instant.txt
|
||||
export LC=$list_root/comic.txt
|
||||
'';
|
||||
};
|
||||
};
|
||||
services.lorri.enable = true;
|
||||
};
|
||||
users.users.jawz.packages = (with pkgs; [ gallery-dl ]);
|
||||
users.users.jawz.packages = [ pkgs.gallery-dl ];
|
||||
my.scripts.download = {
|
||||
enable = true;
|
||||
install = true;
|
||||
service = false;
|
||||
name = "download";
|
||||
package = with pkgs.python3Packages;
|
||||
(buildPythonApplication rec {
|
||||
(buildPythonApplication {
|
||||
pname = "download";
|
||||
version = "2.5";
|
||||
src = ../../scripts/download/.;
|
||||
doCheck = false;
|
||||
buildInputs = [ setuptools ];
|
||||
propagatedBuildInputs = [ pyyaml types-pyyaml yt-dlp ];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user