Merge branch 'main' of ssh://codeberg.org/dnscio/nix-config
This commit is contained in:
commit
9761e420c0
9 changed files with 53 additions and 3 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
GOPATH = "$HOME/go";
|
GOPATH = "$HOME/go";
|
||||||
|
QT_QPA_PLATFORMTHEME = "gtk3";
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,6 @@
|
||||||
tmuxinator
|
tmuxinator
|
||||||
adw-gtk3
|
adw-gtk3
|
||||||
kdePackages.qt6ct
|
kdePackages.qt6ct
|
||||||
ungoogled-chromium
|
|
||||||
];
|
];
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -57,6 +56,7 @@
|
||||||
../modules/tmux
|
../modules/tmux
|
||||||
../modules/tmuxinator/personal.nix
|
../modules/tmuxinator/personal.nix
|
||||||
../modules/zen
|
../modules/zen
|
||||||
|
../modules/ungoogled-chromium
|
||||||
../modules/wm/niri
|
../modules/wm/niri
|
||||||
../modules/wm/noctalia
|
../modules/wm/noctalia
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
description = "Dennis Schoepf";
|
description = "Dennis Schoepf";
|
||||||
};
|
};
|
||||||
nix.settings.trusted-users = [ "dennis" ];
|
nix.settings.trusted-users = [ "dennis" ];
|
||||||
|
security.pam.services.sudo_local.touchIdAuth = true;
|
||||||
|
|
||||||
# Device specific overlays
|
# Device specific overlays
|
||||||
nixpkgs.overlays = [ ];
|
nixpkgs.overlays = [ ];
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
orientation = "right";
|
orientation = "right";
|
||||||
show-recents = false;
|
show-recents = false;
|
||||||
persistent-apps = [
|
persistent-apps = [
|
||||||
"/Applications/Zen.app"
|
"/Applications/Helium.app"
|
||||||
"/Applications/Ghostty.app"
|
"/Applications/Ghostty.app"
|
||||||
"/System/Applications/System Settings.app/"
|
"/System/Applications/System Settings.app/"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@
|
||||||
gomod
|
gomod
|
||||||
gotmpl
|
gotmpl
|
||||||
python
|
python
|
||||||
|
styled
|
||||||
tsx
|
tsx
|
||||||
typescript
|
typescript
|
||||||
nix
|
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 = [
|
autoCmd = [
|
||||||
{
|
{
|
||||||
callback.__raw = "function() vim.highlight.on_yank() end";
|
callback.__raw = "function() vim.highlight.on_yank() end";
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,21 @@
|
||||||
package = pkgs.vscode-langservers-extracted;
|
package = pkgs.vscode-langservers-extracted;
|
||||||
packageFallback = true;
|
packageFallback = true;
|
||||||
};
|
};
|
||||||
|
cssls = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.vscode-langservers-extracted;
|
||||||
|
packageFallback = true;
|
||||||
|
};
|
||||||
|
html = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.vscode-langservers-extracted;
|
||||||
|
packageFallback = true;
|
||||||
|
};
|
||||||
astro = {
|
astro = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.astro-language-server;
|
package = pkgs.astro-language-server;
|
||||||
packageFallback = true;
|
packageFallback = true;
|
||||||
|
config.init_options.typescript.tsdk = "${pkgs.typescript}/lib/node_modules/typescript/lib";
|
||||||
};
|
};
|
||||||
eslint = {
|
eslint = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
11
modules/tmuxinator/personal-layouts/dnsc.yml
Normal file
11
modules/tmuxinator/personal-layouts/dnsc.yml
Normal 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"
|
||||||
13
modules/ungoogled-chromium/default.nix
Normal file
13
modules/ungoogled-chromium/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.chromium = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.ungoogled-chromium;
|
||||||
|
extensions = [
|
||||||
|
{ id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # uBlock
|
||||||
|
{ id = "nngceckbapebfimnlniiiahkandclblb"; } # Bitwarden
|
||||||
|
{ id = "dbepggeogbaibhgnhhndojpepiihcmeb"; } # Vimium
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -89,7 +89,7 @@
|
||||||
enableClipboardHistory = true;
|
enableClipboardHistory = true;
|
||||||
autoPasteClipboard = true;
|
autoPasteClipboard = true;
|
||||||
terminalCommand = "ghostty -e";
|
terminalCommand = "ghostty -e";
|
||||||
iconMode = "native";
|
iconMode = "tabler";
|
||||||
showIconBackground = true;
|
showIconBackground = true;
|
||||||
};
|
};
|
||||||
systemMonitor = {
|
systemMonitor = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue