refactor: use genflake for better flake inputs handling

This commit is contained in:
matt1432 2024-05-20 01:17:07 -04:00
parent 684b8a5c9e
commit 5f9dca81e1
12 changed files with 1000 additions and 697 deletions
common
home/neovim/langs
overlays/dracula-theme

View file

@ -52,6 +52,7 @@ in
*/
''
require('lspconfig').nixd.setup(require('coq').lsp_ensure_capabilities({
filetypes = { 'nix', 'in.nix' },
settings = {
nixd = {
formatting = {

View file

@ -1,7 +1,7 @@
{
bat-theme-src,
gtk-theme-src,
xresources-theme-src,
xresources-src,
...
} @ inputs: (final: prev: {
dracula-theme = prev.dracula-theme.overrideAttrs (oldAttrs: let
@ -21,7 +21,7 @@
cp -a ${bat-theme-src}/Dracula.tmTheme $out/bat
cp -a ${git-colors}/git-colors $out/git-colors
cp -a ${plymouth}/share/plymouth/themes/dracula $out/share/plymouth/themes/
cp -a ${xresources-theme-src}/Xresources $out/xres
cp -a ${xresources-src}/Xresources $out/xres
# -------------------------------------------
mkdir -p $out/share/themes/Dracula

View file

@ -1,13 +1,13 @@
{
stdenv,
plymouth-theme-src,
dracula-plymouth-src,
...
}:
stdenv.mkDerivation {
name = "dracula-plymouth";
version = plymouth-theme-src.shortRev;
version = dracula-plymouth-src.shortRev;
src = plymouth-theme-src;
src = dracula-plymouth-src;
installPhase = ''
chmod 777 ./dracula