mirror of
https://codeberg.org/muon/home.git
synced 2026-03-08 03:25:16 +00:00
Compare commits
4 commits
b152ff48c7
...
ece28c8164
| Author | SHA1 | Date | |
|---|---|---|---|
| ece28c8164 | |||
| 7990c4df1c | |||
| ec3fa2a074 | |||
| e23e1f2cd5 |
3 changed files with 18 additions and 10 deletions
|
|
@ -23,6 +23,7 @@ in {
|
|||
mods.desktop.productivity.enable = false;
|
||||
mods.zen.enable = true;
|
||||
mods.obsidian.enable = true;
|
||||
mods.theme.slideshow = true;
|
||||
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
|
|
|
|||
|
|
@ -125,15 +125,6 @@ with lib; {
|
|||
};
|
||||
|
||||
pinsForce = true;
|
||||
pins = {
|
||||
"GitHub" = {
|
||||
id = "48e8a119-5a14-4826-9545-91c8e8dd3bf6";
|
||||
workspace = spaces."Work".id;
|
||||
url = "https://github.com";
|
||||
position = 101;
|
||||
isEssential = false;
|
||||
};
|
||||
};
|
||||
|
||||
containersForce = true;
|
||||
containers = {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,22 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
d2-vim = pkgs.vimUtils.buildVimPlugin {
|
||||
pname = "d2-vim";
|
||||
version = "0.1.0";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "terrastruct";
|
||||
repo = "d2-vim";
|
||||
rev = "cb3eb7fcb1a2d45c4304bf2e91077d787b724a39";
|
||||
hash = "sha256-HmDQfOIoSV93wqRe7O4FPuHEmAxwoP1+Ut+sKhB62jA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
};
|
||||
in {
|
||||
options.mods.nvim.enable =
|
||||
lib.mkEnableOption "enables nvim";
|
||||
|
||||
|
|
@ -13,6 +26,7 @@
|
|||
];
|
||||
|
||||
config = lib.mkIf config.mods.nvim.enable {
|
||||
home.packages = [pkgs.d2];
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
@ -70,6 +84,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
startPlugins = [d2-vim];
|
||||
|
||||
treesitter = {
|
||||
enable = true;
|
||||
context.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue