create scripts folder
This commit is contained in:
parent
cf841d62ea
commit
1018c9f85f
|
@ -41,11 +41,8 @@
|
||||||
overlay-unstable
|
overlay-unstable
|
||||||
nur.overlay
|
nur.overlay
|
||||||
(_: old-pkgs: {
|
(_: old-pkgs: {
|
||||||
|
uservars = import ./user/variables.nix;
|
||||||
dhist = dhist.packages.${system}.dhist;
|
dhist = dhist.packages.${system}.dhist;
|
||||||
bmenu = import ./bmenu.nix { inherit config pkgs lib; };
|
|
||||||
_diffr = import ./diffr.nix { inherit config pkgs lib; };
|
|
||||||
kak-pager = import ./kak-pager.nix { inherit config pkgs lib; };
|
|
||||||
terminal = import ./terminal.nix { inherit config pkgs lib; };
|
|
||||||
alacritty = (old-pkgs.alacritty.overrideAttrs
|
alacritty = (old-pkgs.alacritty.overrideAttrs
|
||||||
(old-alacritty: rec {
|
(old-alacritty: rec {
|
||||||
src = alacritty-sixel;
|
src = alacritty-sixel;
|
||||||
|
@ -59,10 +56,11 @@
|
||||||
ranger = (old-pkgs.ranger.overridePythonAttrs (old-ranger: rec {
|
ranger = (old-pkgs.ranger.overridePythonAttrs (old-ranger: rec {
|
||||||
src = ranger-sixel;
|
src = ranger-sixel;
|
||||||
checkInputs = [ ];
|
checkInputs = [ ];
|
||||||
propagatedBuildInputs = with pkgs.python3Packages;
|
propagatedBuildInputs = with old-pkgs.python3Packages;
|
||||||
old-ranger.propagatedBuildInputs ++ [ astroid pylint pytest ];
|
old-ranger.propagatedBuildInputs ++ [ astroid pylint pytest ];
|
||||||
}));
|
}));
|
||||||
})
|
})
|
||||||
|
(import ./scripts { inherit config pkgs lib; })
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let inherit (import ./user/variables.nix) key theme color accent font;
|
let inherit (pkgs.uservars) key theme color accent font;
|
||||||
in pkgs.writeScriptBin "bmenu" ''
|
in pkgs.writeScriptBin "bmenu" ''
|
||||||
#!${pkgs.fish}/bin/fish
|
#!${pkgs.fish}/bin/fish
|
||||||
|
|
6
scripts/default.nix
Normal file
6
scripts/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ config, lib, ... }: (_: pkgs: {
|
||||||
|
bmenu = import ./bmenu.nix { inherit config pkgs lib; };
|
||||||
|
_diffr = import ./diffr.nix { inherit config pkgs lib; };
|
||||||
|
kak-pager = import ./kak-pager.nix { inherit config pkgs lib; };
|
||||||
|
terminal = import ./terminal.nix { inherit config pkgs lib; };
|
||||||
|
})
|
Loading…
Reference in a new issue