Compare commits

...

3 Commits

Author SHA1 Message Date
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
5 changed files with 49 additions and 4 deletions

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

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

View File

@@ -0,0 +1,8 @@
{ ... }:
{
imports = [
./cargo.nix
./clang.nix
];
}

View File

@@ -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
];

View File

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