home-roy.nix
This commit is contained in:
+42
-20
@@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
age
|
age
|
||||||
alacritty
|
|
||||||
awscli2
|
awscli2
|
||||||
dig
|
dig
|
||||||
discord
|
discord
|
||||||
@@ -15,11 +14,15 @@
|
|||||||
fish
|
fish
|
||||||
git
|
git
|
||||||
git-filter-repo
|
git-filter-repo
|
||||||
|
go
|
||||||
grim
|
grim
|
||||||
|
jq
|
||||||
kdePackages.gwenview
|
kdePackages.gwenview
|
||||||
minio-client
|
minio-client
|
||||||
|
nodejs_22
|
||||||
|
postman
|
||||||
prismlauncher
|
prismlauncher
|
||||||
rose-pine-hyprcursor
|
python3
|
||||||
slurp
|
slurp
|
||||||
sops
|
sops
|
||||||
ssh-to-age
|
ssh-to-age
|
||||||
@@ -28,14 +31,20 @@
|
|||||||
unzip
|
unzip
|
||||||
vlc
|
vlc
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
woeusb
|
||||||
|
wofi
|
||||||
|
xorg.xrandr
|
||||||
yq-go
|
yq-go
|
||||||
zip
|
zip
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Roy Dumblauskas";
|
settings = {
|
||||||
userEmail = "roydumblauskas@gmail.com";
|
user.name = "Roy Dumblauskas";
|
||||||
|
user.email = "roydumblauskas@gmail.com";
|
||||||
|
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# user program config files
|
# user program config files
|
||||||
@@ -44,6 +53,10 @@
|
|||||||
".config/waybar".source = ./roy-config/waybar;
|
".config/waybar".source = ./roy-config/waybar;
|
||||||
".config/fish".source = ./roy-config/fish;
|
".config/fish".source = ./roy-config/fish;
|
||||||
".config/alacritty".source = ./roy-config/alacritty;
|
".config/alacritty".source = ./roy-config/alacritty;
|
||||||
|
".local/share/PrismLauncher/instances/1.21.6/minecraft/options.txt".source =
|
||||||
|
./roy-config/PrismLauncher/instances/1.21.6/minecraft/options.txt;
|
||||||
|
".local/share/PrismLauncher/instances/1.21.6/minecraft/servers.dat".source =
|
||||||
|
./roy-config/PrismLauncher/instances/1.21.6/minecraft/servers.dat;
|
||||||
};
|
};
|
||||||
|
|
||||||
# user persisted dirs
|
# user persisted dirs
|
||||||
@@ -54,12 +67,17 @@
|
|||||||
"dl"
|
"dl"
|
||||||
".mozilla/firefox/roy/storage/default"
|
".mozilla/firefox/roy/storage/default"
|
||||||
".cache/mozilla/firefox/roy"
|
".cache/mozilla/firefox/roy"
|
||||||
|
# persist steam
|
||||||
|
".local/share/Steam"
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
".bash_history"
|
".bash_history"
|
||||||
".mozilla/firefox/roy/places.sqlite"
|
".mozilla/firefox/roy/places.sqlite"
|
||||||
".mozilla/firefox/roy/cookies.sqlite"
|
".mozilla/firefox/roy/cookies.sqlite"
|
||||||
".config/sops/age/keys.txt"
|
".config/sops/age/keys.txt"
|
||||||
|
".local/share/PrismLauncher/accounts.json"
|
||||||
|
".local/share/PrismLauncher/instances/1.21.6/instance.cfg"
|
||||||
|
".local/share/PrismLauncher/instances/1.21.6/mmc-pack.json"
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@@ -93,7 +111,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
extensions.force = true;
|
extensions.force = true;
|
||||||
extensions.packages = with inputs.firefox-addons.packages.${pkgs.system}; [
|
extensions.packages = with inputs.firefox-addons.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||||
ublock-origin
|
ublock-origin
|
||||||
vimium-c
|
vimium-c
|
||||||
];
|
];
|
||||||
@@ -293,7 +311,6 @@
|
|||||||
options.silent = true;
|
options.silent = true;
|
||||||
options.desc = "Focus up";
|
options.desc = "Focus up";
|
||||||
}
|
}
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
@@ -301,16 +318,10 @@
|
|||||||
lsp-lines.enable = true;
|
lsp-lines.enable = true;
|
||||||
lsp-format.enable = true;
|
lsp-format.enable = true;
|
||||||
|
|
||||||
neo-tree = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# neo-tree dependency
|
|
||||||
web-devicons.enable = true;
|
|
||||||
|
|
||||||
lsp = {
|
lsp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inlayHints = true;
|
inlayHints = true;
|
||||||
|
|
||||||
servers = {
|
servers = {
|
||||||
html.enable = true;
|
html.enable = true;
|
||||||
lua_ls.enable = true;
|
lua_ls.enable = true;
|
||||||
@@ -320,9 +331,9 @@
|
|||||||
pyright.enable = true;
|
pyright.enable = true;
|
||||||
gopls.enable = true;
|
gopls.enable = true;
|
||||||
terraformls.enable = true;
|
terraformls.enable = true;
|
||||||
ansiblels.enable = true;
|
|
||||||
jsonls.enable = true;
|
jsonls.enable = true;
|
||||||
yamlls.enable = true;
|
yamlls.enable = true;
|
||||||
|
|
||||||
rust_analyzer = {
|
rust_analyzer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
installRustc = true;
|
installRustc = true;
|
||||||
@@ -337,35 +348,43 @@
|
|||||||
|
|
||||||
keymaps = {
|
keymaps = {
|
||||||
silent = true;
|
silent = true;
|
||||||
|
|
||||||
lspBuf = {
|
lspBuf = {
|
||||||
gd = {
|
gd = {
|
||||||
action = "definition";
|
action = "definition";
|
||||||
desc = "Goto Definition";
|
desc = "Goto Definition";
|
||||||
};
|
};
|
||||||
|
|
||||||
gr = {
|
gr = {
|
||||||
action = "references";
|
action = "references";
|
||||||
desc = "Goto References";
|
desc = "Goto References";
|
||||||
};
|
};
|
||||||
|
|
||||||
gD = {
|
gD = {
|
||||||
action = "declaration";
|
action = "declaration";
|
||||||
desc = "Goto Declaration";
|
desc = "Goto Declaration";
|
||||||
};
|
};
|
||||||
|
|
||||||
gI = {
|
gI = {
|
||||||
action = "implementation";
|
action = "implementation";
|
||||||
desc = "Goto Implementation";
|
desc = "Goto Implementation";
|
||||||
};
|
};
|
||||||
|
|
||||||
gT = {
|
gT = {
|
||||||
action = "type_definition";
|
action = "type_definition";
|
||||||
desc = "Type Definition";
|
desc = "Type Definition";
|
||||||
};
|
};
|
||||||
|
|
||||||
K = {
|
K = {
|
||||||
action = "hover";
|
action = "hover";
|
||||||
desc = "Hover";
|
desc = "Hover";
|
||||||
};
|
};
|
||||||
|
|
||||||
"<leader>cw" = {
|
"<leader>cw" = {
|
||||||
action = "workspace_symbol";
|
action = "workspace_symbol";
|
||||||
desc = "Workspace Symbol";
|
desc = "Workspace Symbol";
|
||||||
};
|
};
|
||||||
|
|
||||||
"<leader>r" = {
|
"<leader>r" = {
|
||||||
action = "rename";
|
action = "rename";
|
||||||
desc = "Rename";
|
desc = "Rename";
|
||||||
@@ -377,10 +396,12 @@
|
|||||||
action = "open_float";
|
action = "open_float";
|
||||||
desc = "Line Diagnostics";
|
desc = "Line Diagnostics";
|
||||||
};
|
};
|
||||||
|
|
||||||
"]d" = {
|
"]d" = {
|
||||||
action = "goto_next";
|
action = "goto_next";
|
||||||
desc = "Next Diagnostic";
|
desc = "Next Diagnostic";
|
||||||
};
|
};
|
||||||
|
|
||||||
"[d" = {
|
"[d" = {
|
||||||
action = "goto_prev";
|
action = "goto_prev";
|
||||||
desc = "Previous Diagnostic";
|
desc = "Previous Diagnostic";
|
||||||
@@ -389,6 +410,13 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
neo-tree = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# neo-tree dependency
|
||||||
|
web-devicons.enable = true;
|
||||||
|
|
||||||
cmp = {
|
cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnableSources = true;
|
autoEnableSources = true;
|
||||||
@@ -399,7 +427,6 @@
|
|||||||
{ name = "buffer"; }
|
{ name = "buffer"; }
|
||||||
{ name = "luasnip"; }
|
{ name = "luasnip"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
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)";
|
||||||
@@ -412,7 +439,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfigLua = ''
|
extraConfigLua = ''
|
||||||
local _border = "rounded"
|
local _border = "rounded"
|
||||||
|
|
||||||
@@ -431,10 +457,6 @@
|
|||||||
vim.diagnostic.config{
|
vim.diagnostic.config{
|
||||||
float={border=_border}
|
float={border=_border}
|
||||||
};
|
};
|
||||||
|
|
||||||
require('lspconfig.ui.windows').default_options = {
|
|
||||||
border = _border
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
colorschemes.catppuccin = {
|
colorschemes.catppuccin = {
|
||||||
|
|||||||
Reference in New Issue
Block a user