Fixes for 24.05
This commit is contained in:
parent
da03f1120a
commit
a4c6d821c9
7 changed files with 46 additions and 49 deletions
|
@ -64,7 +64,7 @@
|
||||||
framework-server = libx.mkHost { hostname = "framework-server"; };
|
framework-server = libx.mkHost { hostname = "framework-server"; };
|
||||||
nuc-server = libx.mkHost { hostname = "nuc-server"; };
|
nuc-server = libx.mkHost { hostname = "nuc-server"; };
|
||||||
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "hyprland"; theme = "green"; };
|
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "hyprland"; theme = "green"; };
|
||||||
nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "plasma6"; theme = "stylix-day"; };
|
nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "plasma6"; theme = "tokyo-day"; };
|
||||||
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
|
piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
|
quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
"albert@framework-server" = libx.mkHome { hostname = "framework-server"; };
|
"albert@framework-server" = libx.mkHome { hostname = "framework-server"; };
|
||||||
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
|
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
|
||||||
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "green"; };
|
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "green"; };
|
||||||
"albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "plasma6"; theme = "stylix-day";};
|
"albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "plasma6"; theme = "tokyo-day";};
|
||||||
"albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
"albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
"albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
|
"albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
"albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
|
"albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
rnix-lsp.enable = lib.mkForce false;
|
rnix-lsp.enable = lib.mkForce false;
|
||||||
nil_ls.enable = false;
|
nil-ls.enable = false;
|
||||||
html.enable = true;
|
html.enable = true;
|
||||||
cssls.enable = true;
|
cssls.enable = true;
|
||||||
bashls.enable = true;
|
bashls.enable = true;
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
globals.mapleader = " ";
|
globals.mapleader = " ";
|
||||||
globals.maplocalleader = " ";
|
globals.maplocalleader = " ";
|
||||||
|
|
||||||
options = {
|
opts = {
|
||||||
number = true;
|
number = true;
|
||||||
wrap = false;
|
wrap = false;
|
||||||
cursorline = true;
|
cursorline = true;
|
||||||
|
|
|
@ -10,22 +10,10 @@
|
||||||
cmp-nvim-lsp-document-symbol.enable = true;
|
cmp-nvim-lsp-document-symbol.enable = true;
|
||||||
cmp-nvim-lsp-signature-help.enable = true;
|
cmp-nvim-lsp-signature-help.enable = true;
|
||||||
|
|
||||||
cmp.settings = {
|
cmp = {
|
||||||
sources = [
|
|
||||||
{ name = "nvim_lua"; }
|
|
||||||
{ name = "nvim_lsp"; }
|
|
||||||
{ name = "calc"; }
|
|
||||||
{ name = "path"; }
|
|
||||||
{ name = "buffer"; }
|
|
||||||
{ name = "luasnip"; }
|
|
||||||
];
|
|
||||||
snippet.expand = "luasnip";
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
nvim-cmp = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnableSources = true;
|
autoEnableSources = true;
|
||||||
|
settings = {
|
||||||
mapping = {
|
mapping = {
|
||||||
"<C-Space>" = "cmp.mapping.complete()";
|
"<C-Space>" = "cmp.mapping.complete()";
|
||||||
"<C-d>" = "cmp.mapping.scroll_docs(-4)";
|
"<C-d>" = "cmp.mapping.scroll_docs(-4)";
|
||||||
|
@ -39,6 +27,15 @@
|
||||||
completion.border = "rounded";
|
completion.border = "rounded";
|
||||||
documentation.border = "rounded";
|
documentation.border = "rounded";
|
||||||
};
|
};
|
||||||
|
sources = [
|
||||||
|
{ name = "nvim_lua"; }
|
||||||
|
{ name = "nvim_lsp"; }
|
||||||
|
{ name = "calc"; }
|
||||||
|
{ name = "path"; }
|
||||||
|
{ name = "buffer"; }
|
||||||
|
{ name = "luasnip"; }
|
||||||
|
];
|
||||||
|
snippet.expand = "luasnip";
|
||||||
formatting = {
|
formatting = {
|
||||||
fields = [ "menu" "abbr" "kind" ];
|
fields = [ "menu" "abbr" "kind" ];
|
||||||
# https://rsdlt.github.io/posts/rust-nvim-ide-guide-walkthrough-development-debug/
|
# https://rsdlt.github.io/posts/rust-nvim-ide-guide-walkthrough-development-debug/
|
||||||
|
@ -57,4 +54,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
# List packages installed in system profile
|
# List packages installed in system profile
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nfs-utils # nfs network share tools
|
nfs-utils # nfs network share tools
|
||||||
nixfmt # Formatting nix output
|
|
||||||
sbctl # Secureboot Control
|
sbctl # Secureboot Control
|
||||||
wget # WebGet
|
wget # WebGet
|
||||||
killall # Killall
|
killall # Killall
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ hostname, ... }: {
|
{ hostname, ... }: {
|
||||||
# enable passwordless elevation
|
# enable passwordless elevation
|
||||||
# Useful for deploy-rs
|
# Useful for deploy-rs
|
||||||
security.pam.enableSSHAgentAuth = true;
|
security.pam.sshAgentAuth.enable = true;
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
|
|
||||||
# By default no ports are open.
|
# By default no ports are open.
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
wineWowPackages.stable
|
wineWowPackages.stable
|
||||||
winetricks
|
winetricks
|
||||||
wineWowPackages.waylandFull
|
wineWowPackages.waylandFull
|
||||||
nvtop-amd
|
nvtopPackages.amd
|
||||||
distrobox
|
distrobox
|
||||||
# RGB stuff
|
# RGB stuff
|
||||||
openrgb-with-all-plugins
|
openrgb-with-all-plugins
|
||||||
|
|
Loading…
Reference in a new issue