Compare commits
6 Commits
004756d9ae
...
main
Author | SHA1 | Date | |
---|---|---|---|
0401a62c05
|
|||
2613918639
|
|||
c1f616112b
|
|||
04733b74ab
|
|||
f09c55cd92
|
|||
a45e02881a
|
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/"
|
||||||
|
'';
|
||||||
|
}
|
@@ -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; [
|
||||||
|
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 = [
|
extraOptions = [
|
||||||
"--group-directories-first"
|
"--group-directories-first"
|
||||||
|
"-h"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
append = true;
|
append = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls = "eza";
|
ls = "eza";
|
||||||
ll = "eza -lh";
|
ll = "eza -lh";
|
||||||
|
Reference in New Issue
Block a user