Compare commits

..

6 Commits

Author SHA1 Message Date
0401a62c05 Add extra env vars
Signed-off-by: Noah Knegt <git@noahknegt.com>
2025-07-03 22:27:07 +02:00
2613918639 Add nuxt config
Signed-off-by: Noah Knegt <git@noahknegt.com>
2025-07-03 22:13:47 +02:00
c1f616112b Rename cargo to rust for all rust related config
Signed-off-by: Noah Knegt <git@noahknegt.com>
2025-07-03 22:10:47 +02:00
04733b74ab Add ssh config
Signed-off-by: Noah Knegt <git@noahknegt.com>
2025-07-03 22:02:00 +02:00
f09c55cd92 Add cargo config
Signed-off-by: Noah Knegt <git@noahknegt.com>
2025-07-03 21:40:09 +02:00
a45e02881a Add clang-format to home-manager
Signed-off-by: Noah Knegt <git@noahknegt.com>
2025-07-03 21:34:17 +02:00
8 changed files with 60 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
{ pkgs, ... }:
{
home.file.".clang-format".text = ''
---
Language: Cpp
BasedOnStyle: Google
'';
}

View File

@@ -0,0 +1,9 @@
{ ... }:
{
imports = [
./clang.nix
./nuxt.nix
./rust.nix
];
}

View File

@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.file.".nuxtrc".text = ''
telemetry.enabled=false
'';
}

View 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/"
'';
}

View File

@@ -15,12 +15,12 @@
# You can also split up your configuration and import pieces of it here: # You can also split up your configuration and import pieces of it here:
# ./nvim.nix # ./nvim.nix
./IDEs
./development ./development
./dotfiles
./tools
./git ./git
./IDEs
./ssh
./tools
./zsh ./zsh
]; ];
@@ -53,10 +53,12 @@
sessionPath = [ sessionPath = [
"$HOME/.cargo/bin" "$HOME/.cargo/bin"
"$HOME/.local/bin" "$HOME/.local/bin"
"$HOME/.local/share/pnpm"
]; ];
sessionVariables = { sessionVariables = {
SSH_AUTH_SOCK = "/home/noahk/.bitwarden-ssh-agent.sock"; SSH_AUTH_SOCK = "/home/noahk/.bitwarden-ssh-agent.sock";
DRONE_SERVER = "https://drone.noahknegt.com";
}; };
packages = with pkgs; [ packages = with pkgs; [

View File

@@ -0,0 +1,15 @@
{ pkgs, inputs, ... }:
{
programs.ssh = {
enable = true;
matchBlocks = {
"zeus" = {
hostname = "vps.noahknegt.com";
user = "noahk";
port = 22;
};
};
};
}

View File

@@ -11,6 +11,7 @@
extraOptions = [ extraOptions = [
"--group-directories-first" "--group-directories-first"
"-h"
]; ];
}; };
} }

View File

@@ -11,7 +11,6 @@
append = true; append = true;
}; };
shellAliases = { shellAliases = {
ls = "eza"; ls = "eza";
ll = "eza -lh"; ll = "eza -lh";