meta: Move base16-nvim config into stylix

This commit is contained in:
Donovan Glover 2024-08-03 12:17:31 -04:00
parent f73e302f2e
commit 55fbafa129
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 7 additions and 16 deletions

10
flake.lock generated
View File

@ -263,15 +263,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1721816671, "lastModified": 1722701340,
"narHash": "sha256-gk+ktb6smoyYmjM5Je2EYxyVLDrFNmRHDzf3iUoElJU=", "narHash": "sha256-WjbcJF7dJ0mvCKGRWuqqdlGvCtUG5MGkynONEkQ7zZc=",
"owner": "danth", "owner": "donovanglover",
"repo": "stylix", "repo": "stylix",
"rev": "c974c17cd089dcbfb16fbde028dd00bcc05e3f73", "rev": "f76b04561ae6a1bdf3fe851df0d0233809aab88f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "danth", "owner": "donovanglover",
"repo": "stylix", "repo": "stylix",
"type": "github" "type": "github"
} }

View File

@ -8,7 +8,7 @@
}; };
stylix = { stylix = {
url = "github:danth/stylix"; url = "github:donovanglover/stylix";
inputs = { inputs = {
nixpkgs.follows = "nixpkgs"; nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager"; home-manager.follows = "home-manager";

View File

@ -1,9 +1,5 @@
{ pkgs, config, lib, ... }: { pkgs, ... }:
let
inherit (config.lib.stylix.scheme) scheme;
inherit (lib.strings) toLower;
in
{ {
programs.bat.enable = true; programs.bat.enable = true;
@ -327,11 +323,6 @@ in
''; '';
} }
friendly-snippets friendly-snippets
{
plugin = base16-nvim;
type = "lua";
config = "vim.cmd('colorscheme base16-${toLower scheme}')";
}
{ {
plugin = lualine-nvim; plugin = lualine-nvim;
type = "lua"; type = "lua";