Merge branch 'main' of ssh://codeberg.org/dnscio/nix-config

This commit is contained in:
Dennis 2026-02-18 09:05:29 +01:00
commit 9761e420c0
9 changed files with 53 additions and 3 deletions

View file

@ -21,7 +21,7 @@
orientation = "right";
show-recents = false;
persistent-apps = [
"/Applications/Zen.app"
"/Applications/Helium.app"
"/Applications/Ghostty.app"
"/System/Applications/System Settings.app/"
];

View file

@ -31,6 +31,7 @@
gomod
gotmpl
python
styled
tsx
typescript
nix
@ -54,6 +55,18 @@
'';
};
extraPlugins = [
(pkgs.vimUtils.buildVimPlugin {
name = "edge.vim";
src = pkgs.fetchFromGitHub {
"owner" = "Yohannfra";
"repo" = "edge.vim";
"rev" = "c5a165269d2643c12e62841776e8ba55e0f05e28";
"hash" = "sha256-nXXcg2ggYN75ZSOgB8isxCbN8YigldO05Ja0/WigjAs=";
};
})
];
autoCmd = [
{
callback.__raw = "function() vim.highlight.on_yank() end";

View file

@ -32,10 +32,21 @@
package = pkgs.vscode-langservers-extracted;
packageFallback = true;
};
cssls = {
enable = true;
package = pkgs.vscode-langservers-extracted;
packageFallback = true;
};
html = {
enable = true;
package = pkgs.vscode-langservers-extracted;
packageFallback = true;
};
astro = {
enable = true;
package = pkgs.astro-language-server;
packageFallback = true;
config.init_options.typescript.tsdk = "${pkgs.typescript}/lib/node_modules/typescript/lib";
};
eslint = {
enable = true;

View file

@ -0,0 +1,11 @@
name: dnsc-io
root: ~/dev/dnsc-io
windows:
- dev:
layout: main-horizontal
panes:
- nvim +"lua Snacks.picker.files({ hidden = true })"
- run:
layout: main-vertical
panes:
- "pnpm dev"

View file

@ -0,0 +1,13 @@
{ pkgs, ... }:
{
programs.chromium = {
enable = true;
package = pkgs.ungoogled-chromium;
extensions = [
{ id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # uBlock
{ id = "nngceckbapebfimnlniiiahkandclblb"; } # Bitwarden
{ id = "dbepggeogbaibhgnhhndojpepiihcmeb"; } # Vimium
];
};
}

View file

@ -89,7 +89,7 @@
enableClipboardHistory = true;
autoPasteClipboard = true;
terminalCommand = "ghostty -e";
iconMode = "native";
iconMode = "tabler";
showIconBackground = true;
};
systemMonitor = {