Compare commits
3 Commits
004756d9ae
...
04733b74ab
Author | SHA1 | Date | |
---|---|---|---|
04733b74ab
|
|||
f09c55cd92
|
|||
a45e02881a
|
13
home-manager/dotfiles/cargo.nix
Normal file
13
home-manager/dotfiles/cargo.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/"
|
||||
'';
|
||||
}
|
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
|
||||
'';
|
||||
}
|
8
home-manager/dotfiles/default.nix
Normal file
8
home-manager/dotfiles/default.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./cargo.nix
|
||||
./clang.nix
|
||||
];
|
||||
}
|
@@ -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
|
||||
];
|
||||
|
||||
|
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user