minor updates

This commit is contained in:
Vivian 2022-12-02 12:18:21 +01:00
parent a446437874
commit 4755f40dfb
6 changed files with 36 additions and 5 deletions

View file

@ -140,6 +140,7 @@
k9s k9s
kubectl kubectl
kubectx kubectx
statix
terraform terraform
nixfmt nixfmt
nixUnstable nixUnstable

View file

@ -1,4 +1,4 @@
{ _ }: { _: {
# See also: https://blog.xirion.net/posts/nixos-proxmox-lxc/ # See also: https://blog.xirion.net/posts/nixos-proxmox-lxc/
# Supress systemd services that don't work (correctly) on LXC # Supress systemd services that don't work (correctly) on LXC

View file

@ -0,0 +1 @@
jonathan_dconf

View file

@ -17,7 +17,7 @@ with lib.hm.gvariant;
"org/gnome/mutter" = { "org/gnome/mutter" = {
attach-modal-dialogs = true; attach-modal-dialogs = true;
dynamic-workspaces = true; dynamic-workspaces = false;
edge-tiling = true; edge-tiling = true;
focus-change-on-pointer-rest = true; focus-change-on-pointer-rest = true;
workspaces-only-on-primary = true; workspaces-only-on-primary = true;
@ -28,6 +28,15 @@ with lib.hm.gvariant;
toggle-tiled-right = [ "<Super>bracketright" ]; toggle-tiled-right = [ "<Super>bracketright" ];
}; };
"org/gnome/shell/keybindings" = { toggle-overview = [ "<Super>d" ]; };
"org/gnome/desktop/interface" = { color-scheme = "prefer-dark"; };
"org/gnome/desktop/wm/preferences" = {
auto-raise = true;
num-workspaces = 6;
};
"org/gnome/desktop/wm/keybindings" = { "org/gnome/desktop/wm/keybindings" = {
raise-or-lower = [ "<Super>s" ]; raise-or-lower = [ "<Super>s" ];
switch-applications = [ "<Super>Tab" ]; switch-applications = [ "<Super>Tab" ];
@ -36,10 +45,14 @@ with lib.hm.gvariant;
move-to-workspace-2 = [ "<Shift><Super>at" ]; move-to-workspace-2 = [ "<Shift><Super>at" ];
move-to-workspace-3 = [ "<Shift><Super>numbersign" ]; move-to-workspace-3 = [ "<Shift><Super>numbersign" ];
move-to-workspace-4 = [ "<Shift><Super>dollar" ]; move-to-workspace-4 = [ "<Shift><Super>dollar" ];
move-to-workspace-5 = [ "<Shift><Super>percent" ];
move-to-workspace-6 = [ "<Shift><Super>asciicircum" ];
switch-to-workspace-1 = [ "<Super>1" ]; switch-to-workspace-1 = [ "<Super>1" ];
switch-to-workspace-2 = [ "<Super>2" ]; switch-to-workspace-2 = [ "<Super>2" ];
switch-to-workspace-3 = [ "<Super>3" ]; switch-to-workspace-3 = [ "<Super>3" ];
switch-to-workspace-4 = [ "<Super>4" ]; switch-to-workspace-4 = [ "<Super>4" ];
switch-to-workspace-5 = [ "<Super>5" ];
switch-to-workspace-6 = [ "<Super>6" ];
toggle-fullscreen = [ "<Super>f" ]; toggle-fullscreen = [ "<Super>f" ];
toggle-maximized = [ "<Super>m" ]; toggle-maximized = [ "<Super>m" ];
}; };

View file

@ -80,9 +80,25 @@ in {
"rust-analyzer.server.path" = "${pkgs.rust-analyzer}/bin/rust-analyzer"; "rust-analyzer.server.path" = "${pkgs.rust-analyzer}/bin/rust-analyzer";
"terminal.integrated.defaultProfile.linux" = "zsh"; "terminal.integrated.defaultProfile.linux" = "zsh";
"nix.enableLanguageServer" = true; # Enable LSP. "nix.enableLanguageServer" = true; # Enable LSP.
"nix.serverPath" = "nix.serverPath" = "${pkgs.nil}/bin/nil";
"${pkgs.nil}/bin/nil"; # The path to the LSP server executable.
"[nix]" = { "editor.defaultFormatter" = "brettm12345.nixfmt-vscode"; }; "[nix]" = { "editor.defaultFormatter" = "brettm12345.nixfmt-vscode"; };
# Don't index unecessary things
"files.exclude" = {
"**/.vscode" = true;
"**/.git" = true;
"**/.svn" = true;
"**/.hg" = true;
"**/.deps" = true;
"**/CVS" = true;
"**/.DS_Store" = true;
"/bin" = true;
"/boot" = true;
"/cdrom" = true;
"/dev" = true;
"/proc" = true;
"/etc" = true;
"/nix" = true;
};
}; };
extensions = with pkgs.vscode-extensions; extensions = with pkgs.vscode-extensions;
with pkgs.v.vscode-extensions; [ with pkgs.v.vscode-extensions; [

View file

@ -1,4 +1,4 @@
{ _ }: _:
{ {
services.v.dns = { services.v.dns = {
enable = true; enable = true;