Compare commits
8 Commits
c2339252e3
...
main
Author | SHA1 | Date | |
---|---|---|---|
0401a62c05
|
|||
2613918639
|
|||
c1f616112b
|
|||
04733b74ab
|
|||
f09c55cd92
|
|||
a45e02881a
|
|||
004756d9ae
|
|||
4dd8bb85c7
|
@@ -3,43 +3,111 @@
|
||||
{
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
profiles.default.extensions = with pkgs.vscode-extensions; [
|
||||
catppuccin.catppuccin-vsc
|
||||
catppuccin.catppuccin-vsc-icons
|
||||
profiles.default = {
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
catppuccin.catppuccin-vsc
|
||||
catppuccin.catppuccin-vsc-icons
|
||||
|
||||
jnoortheen.nix-ide
|
||||
mhutchie.git-graph
|
||||
donjayamanne.githistory
|
||||
eamodio.gitlens
|
||||
mhutchie.git-graph
|
||||
donjayamanne.githistory
|
||||
eamodio.gitlens
|
||||
|
||||
# Rust plugins
|
||||
rust-lang.rust-analyzer
|
||||
tamasfe.even-better-toml
|
||||
fill-labs.dependi
|
||||
streetsidesoftware.code-spell-checker
|
||||
gruntfuggly.todo-tree
|
||||
];
|
||||
|
||||
ms-vscode.cpptools
|
||||
];
|
||||
userSettings = {
|
||||
# Theme
|
||||
"workbench.iconTheme" = "catppuccin-mocha";
|
||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
||||
"workbench.sideBar.location" = "right";
|
||||
"workbench.activityBar.location" = "bottom";
|
||||
"editor.fontFamily" = "SauceCodePro";
|
||||
|
||||
profiles.default.userSettings = {
|
||||
# Theme
|
||||
"workbench.iconTheme" = "catppuccin-mocha";
|
||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
||||
"workbench.sideBar.location" = "right";
|
||||
"workbench.activityBar.location" = "bottom";
|
||||
"editor.fontFamily" = "Source Code Pro";
|
||||
# Settings for all files
|
||||
"files.autoSave" = "off";
|
||||
|
||||
# Settings for all files
|
||||
"files.autoSave" = "off";
|
||||
# Git settings
|
||||
"git.autofetch" = true;
|
||||
"git.confirmSync" = false;
|
||||
"git.alwaysSignOff" = true;
|
||||
"git.pruneOnFetch" = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Git settings
|
||||
"git.autofetch" = true;
|
||||
"git.confirmSync" = false;
|
||||
"git.alwaysSignOff" = true;
|
||||
"git.pruneOnFetch" = true;
|
||||
profiles.home-manager = {
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
catppuccin.catppuccin-vsc
|
||||
catppuccin.catppuccin-vsc-icons
|
||||
|
||||
mhutchie.git-graph
|
||||
donjayamanne.githistory
|
||||
eamodio.gitlens
|
||||
|
||||
# Nix lang settings
|
||||
"[nix]"."editor.tabSize" = 2;
|
||||
streetsidesoftware.code-spell-checker
|
||||
gruntfuggly.todo-tree
|
||||
|
||||
# Nix specific extensions
|
||||
jnoortheen.nix-ide
|
||||
];
|
||||
|
||||
userSettings = {
|
||||
# Theme
|
||||
"workbench.iconTheme" = "catppuccin-mocha";
|
||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
||||
"workbench.sideBar.location" = "right";
|
||||
"workbench.activityBar.location" = "bottom";
|
||||
"editor.fontFamily" = "SauceCodePro";
|
||||
|
||||
# Settings for all files
|
||||
"files.autoSave" = "off";
|
||||
|
||||
# Git settings
|
||||
"git.autofetch" = true;
|
||||
"git.confirmSync" = false;
|
||||
"git.alwaysSignOff" = true;
|
||||
"git.pruneOnFetch" = true;
|
||||
|
||||
# Nix lang settings
|
||||
"[nix]"."editor.tabSize" = 2;
|
||||
};
|
||||
};
|
||||
|
||||
profiles.rust = {
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
catppuccin.catppuccin-vsc
|
||||
catppuccin.catppuccin-vsc-icons
|
||||
|
||||
mhutchie.git-graph
|
||||
donjayamanne.githistory
|
||||
eamodio.gitlens
|
||||
|
||||
streetsidesoftware.code-spell-checker
|
||||
gruntfuggly.todo-tree
|
||||
|
||||
# Rust development
|
||||
rust-lang.rust-analyzer
|
||||
tamasfe.even-better-toml
|
||||
fill-labs.dependi
|
||||
];
|
||||
|
||||
userSettings = {
|
||||
# Theme
|
||||
"workbench.iconTheme" = "catppuccin-mocha";
|
||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
||||
"workbench.sideBar.location" = "right";
|
||||
"workbench.activityBar.location" = "bottom";
|
||||
"editor.fontFamily" = "SauceCodePro";
|
||||
|
||||
# Settings for all files
|
||||
"files.autoSave" = "off";
|
||||
|
||||
# Git settings
|
||||
"git.autofetch" = true;
|
||||
"git.confirmSync" = false;
|
||||
"git.alwaysSignOff" = true;
|
||||
"git.pruneOnFetch" = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
9
home-manager/dotfiles/clang.nix
Normal file
9
home-manager/dotfiles/clang.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.file.".clang-format".text = ''
|
||||
---
|
||||
Language: Cpp
|
||||
BasedOnStyle: Google
|
||||
'';
|
||||
}
|
9
home-manager/dotfiles/default.nix
Normal file
9
home-manager/dotfiles/default.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./clang.nix
|
||||
./nuxt.nix
|
||||
./rust.nix
|
||||
];
|
||||
}
|
7
home-manager/dotfiles/nuxt.nix
Normal file
7
home-manager/dotfiles/nuxt.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.file.".nuxtrc".text = ''
|
||||
telemetry.enabled=false
|
||||
'';
|
||||
}
|
13
home-manager/dotfiles/rust.nix
Normal file
13
home-manager/dotfiles/rust.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.file.".cargo/config.toml".text = ''
|
||||
[net]
|
||||
git-fetch-with-cli = true
|
||||
|
||||
[registries]
|
||||
|
||||
[registries.git_noahknegt_com_ev-charging]
|
||||
index = "sparse+https://git.noahknegt.com/api/packages/ev-charging/cargo/"
|
||||
'';
|
||||
}
|
@@ -49,8 +49,8 @@
|
||||
condition = "gitdir:~/Repos/open-source/";
|
||||
contents = {
|
||||
user = {
|
||||
email = "git@noahknegt.com";
|
||||
signingKey = "~/.ssh/id_open_source.pub";
|
||||
email = "github@noahknegt.com";
|
||||
signingKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJi7QgoPtTQLHmKNbJAC8mgzQ6Wwq82L2YhBLSaxpQ3/";
|
||||
};
|
||||
|
||||
commit = {
|
||||
|
@@ -15,12 +15,12 @@
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./nvim.nix
|
||||
|
||||
./IDEs
|
||||
./development
|
||||
|
||||
./tools
|
||||
|
||||
./dotfiles
|
||||
./git
|
||||
./IDEs
|
||||
./ssh
|
||||
./tools
|
||||
./zsh
|
||||
];
|
||||
|
||||
@@ -53,10 +53,12 @@
|
||||
sessionPath = [
|
||||
"$HOME/.cargo/bin"
|
||||
"$HOME/.local/bin"
|
||||
"$HOME/.local/share/pnpm"
|
||||
];
|
||||
|
||||
sessionVariables = {
|
||||
SSH_AUTH_SOCK = "/home/noahk/.bitwarden-ssh-agent.sock";
|
||||
DRONE_SERVER = "https://drone.noahknegt.com";
|
||||
};
|
||||
|
||||
packages = with pkgs; [
|
||||
|
15
home-manager/ssh/default.nix
Normal file
15
home-manager/ssh/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
||||
matchBlocks = {
|
||||
"zeus" = {
|
||||
hostname = "vps.noahknegt.com";
|
||||
user = "noahk";
|
||||
port = 22;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@@ -11,6 +11,7 @@
|
||||
|
||||
extraOptions = [
|
||||
"--group-directories-first"
|
||||
"-h"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@@ -11,7 +11,6 @@
|
||||
append = true;
|
||||
};
|
||||
|
||||
|
||||
shellAliases = {
|
||||
ls = "eza";
|
||||
ll = "eza -lh";
|
||||
|
Reference in New Issue
Block a user