mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-22 01:12:19 +00:00
Compare commits
6 commits
fc1c594ca5
...
1fa99855e6
Author | SHA1 | Date | |
---|---|---|---|
1fa99855e6 | |||
00d26453b6 | |||
ab178f0651 | |||
47aea45ea4 | |||
44d070c490 | |||
4ddaded39c |
3 changed files with 76 additions and 19 deletions
18
flake.lock
18
flake.lock
|
@ -9,11 +9,11 @@
|
|||
},
|
||||
"locked": {
|
||||
"dir": "pkgs/firefox-addons",
|
||||
"lastModified": 1692133626,
|
||||
"narHash": "sha256-avfejRiRuLDofwGLZPn3bWMXV+n0NkkgWFhjJiKd5fk=",
|
||||
"lastModified": 1692261000,
|
||||
"narHash": "sha256-cW69c+S2hk5JMDnar/Yve+AFVIYvGc7/UeDUDrSFWE0=",
|
||||
"owner": "rycee",
|
||||
"repo": "nur-expressions",
|
||||
"rev": "3ff268e34c6531fba32b30f5954e00cc37e298fd",
|
||||
"rev": "9088136d270494b3b0c8d39959da7d7facabd0ae",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
|
@ -76,11 +76,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1692134936,
|
||||
"narHash": "sha256-Z68O969cioC6I3k/AFBxsuEwpJwt4l9fzwuAMUhCCs0=",
|
||||
"lastModified": 1692311310,
|
||||
"narHash": "sha256-K3VAwgGl7BnoAbDp6qNoCiE2TRuF7j/3nUao57hfh6U=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "bfd953b2c6de4f550f75461bcc5768b6f966be10",
|
||||
"rev": "53baed0863ff7df14b14444b779ddfaa80621f1a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -92,11 +92,11 @@
|
|||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1692174805,
|
||||
"narHash": "sha256-xmNPFDi/AUMIxwgOH/IVom55Dks34u1g7sFKKebxUm0=",
|
||||
"lastModified": 1692264070,
|
||||
"narHash": "sha256-WepAkIL2UcHOj7JJiaFS/vxrA9lklQHv8p+xGL+7oQ0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "caac0eb6bdcad0b32cb2522e03e4002c8975c62e",
|
||||
"rev": "42c25608aa2ad4e5d3716d8d63c606063513ba33",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -12,6 +12,7 @@ in
|
|||
ccat = "egrep -v '^\s*(#|$)'";
|
||||
ga = "git add";
|
||||
gc = "git commit"; # interactive commit
|
||||
gg = "git graph";
|
||||
gcm = "git commit -m"; # quick commit
|
||||
gp = "git push";
|
||||
gs = "git status";
|
||||
|
|
|
@ -1,10 +1,16 @@
|
|||
{ config, outputs, pkgs, lib, ... }: {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
hadolint
|
||||
];
|
||||
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
enableExtensionUpdateCheck = false;
|
||||
enableUpdateCheck = false;
|
||||
package = pkgs.unstable.vscode;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
# extensions available as nix packages
|
||||
bbenoist.nix
|
||||
github.copilot
|
||||
golang.go
|
||||
|
@ -16,6 +22,45 @@
|
|||
timonwong.shellcheck
|
||||
vscodevim.vim
|
||||
yzhang.markdown-all-in-one
|
||||
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||
# extensions from the vscode marketplace
|
||||
{
|
||||
name = "auto-align";
|
||||
publisher = "bladnman";
|
||||
version = "0.0.13";
|
||||
sha256 = "sha256-N5XMHW6UadKjE29p2vevtjgqLA4QysYu2xT3njmyHLk=";
|
||||
}
|
||||
# copilot chat requires vscode 1.82
|
||||
# {
|
||||
# name = "copilot-chat";
|
||||
# publisher = "github";
|
||||
# version = "0.7.2023081801";
|
||||
# sha256 = "sha256-4n28k0pqHEluL7mbsTfMMkePfRK5U5MzMNhLTRogoVY=";
|
||||
# }
|
||||
{
|
||||
name = "hadolint";
|
||||
publisher = "exiasr";
|
||||
version = "1.1.2";
|
||||
sha256 = "sha256-6GO1f8SP4CE8yYl87/tm60FdGHqHsJA4c2B6UKVdpgM=";
|
||||
}
|
||||
{
|
||||
name = "hcl";
|
||||
publisher = "hashicorp";
|
||||
version = "0.3.2";
|
||||
sha256 = "sha256-cxF3knYY29PvT3rkRS8SGxMn9vzt56wwBXpk2PqO0mo=";
|
||||
}
|
||||
{
|
||||
name = "jinjahtml";
|
||||
publisher = "samuelcolvin";
|
||||
version = "0.20.0";
|
||||
sha256 = "sha256-wADL3AkLfT2N9io8h6XYgceKyltJCz5ZHZhB14ipqpM=";
|
||||
}
|
||||
{
|
||||
name = "markdown-table-prettify";
|
||||
publisher = "darkriszty";
|
||||
version = "3.6.0";
|
||||
sha256 = "sha256-FZTiNGSY+8xk3DJsTKQu4AHy1UFvg0gbrzPpjqRlECI=";
|
||||
}
|
||||
];
|
||||
keybindings = [
|
||||
{
|
||||
|
@ -80,6 +125,16 @@
|
|||
}
|
||||
];
|
||||
userSettings = {
|
||||
"autoalign.moveableItems" = [
|
||||
"="
|
||||
":"
|
||||
"+="
|
||||
"-="
|
||||
];
|
||||
"autoalign.nonMoveableItemsAdditional" = [
|
||||
"ks="
|
||||
"ds="
|
||||
];
|
||||
"diffEditor.ignoreTrimWhitespace" = false;
|
||||
"editor.acceptSuggestionOnCommitCharacter" = false;
|
||||
"editor.acceptSuggestionOnEnter" = "off";
|
||||
|
@ -91,6 +146,7 @@
|
|||
"editor.tabCompletion" = "off";
|
||||
"editor.tabSize" = 2;
|
||||
"explorer.confirmDragAndDrop" = false;
|
||||
"extensions.autoCheckUpdates" = false;
|
||||
"files.hotExit" = "onExitAndWindowClose";
|
||||
"files.trimTrailingWhitespace" = true;
|
||||
"git.confirmSync" = false;
|
||||
|
@ -108,23 +164,23 @@
|
|||
};
|
||||
"powershell.promptToUpdatePowerShell" = false;
|
||||
"security.workspace.trust.untrustedFiles" = "open";
|
||||
"vim.statusBarColorControl" = true;
|
||||
"vim.useCtrlKeys" = false;
|
||||
"window.restoreWindows" = "none";
|
||||
"workbench.startupEditor" = "none";
|
||||
"workbench.colorCustomizations" = {
|
||||
"statusBar.background" = "#005f5f";
|
||||
"statusBar.debuggingBackground" = "#005f5f";
|
||||
"statusBar.noFolderBackground" = "#005f5f";
|
||||
};
|
||||
"update.mode" = "none";
|
||||
"vim.normalModeKeyBindings" = [
|
||||
{
|
||||
"after" = ["@q"];
|
||||
"before" = ["Q"];
|
||||
}
|
||||
];
|
||||
"vim.statusBarColorControl" = true;
|
||||
"vim.useCtrlKeys" = false;
|
||||
"window.restoreWindows" = "none";
|
||||
"workbench.colorCustomizations" = {
|
||||
"statusBar.background" = "#005f5f";
|
||||
"statusBar.debuggingBackground" = "#005f5f";
|
||||
"statusBar.noFolderBackground" = "#005f5f";
|
||||
};
|
||||
"workbench.startupEditor" = "none";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue