a lot of things...
This commit is contained in:
@@ -138,6 +138,9 @@
|
||||
|
||||
#################### functions ####################
|
||||
|
||||
nrel(){
|
||||
nix repl --expr "rec { nixpkgs = builtins.getFlake \"nixpkgs\"; pkgs = import nixpkgs {}; flake = builtins.getFlake \"git+file://$(pwd)\"; out = flake.packages.x86_64-linux;} $@"
|
||||
}
|
||||
|
||||
# shortcut for copying over to tab
|
||||
tta(){
|
||||
|
||||
@@ -1,15 +1,20 @@
|
||||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Sebastian Moser";
|
||||
userEmail = "sebastian@c2vi.dev";
|
||||
|
||||
extraConfig.credential.helper = "manager";
|
||||
extraConfig.credential."https://git.htlec.org".username = "c2vi";
|
||||
extraConfig.credential.credentialStore = "cache";
|
||||
|
||||
extraConfig = {
|
||||
core.editor = "nvim";
|
||||
core.color.ui = true;
|
||||
core.pager = "delta";
|
||||
extraConfig.core.excludesfile = "~/.config/git/gitignore";
|
||||
core.excludesfile = "~/.config/git/gitignore";
|
||||
};
|
||||
};
|
||||
home.packages = [ pkgs.git-credential-manager ];
|
||||
}
|
||||
|
||||
@@ -5,6 +5,20 @@
|
||||
matchBlocks = {
|
||||
"*" = {
|
||||
identityFile = "${secretsDir}/private-key";
|
||||
};
|
||||
pcmc = {
|
||||
hostname = "195.201.148.94";
|
||||
user = "root";
|
||||
};
|
||||
ligai = {
|
||||
hostname = "ssh.lightning.ai";
|
||||
identityFile = "~/work/here/secrets/lightning-ai-key";
|
||||
#IdentitiesOnly = "yes";
|
||||
#ServerAliveInterval = 15;
|
||||
#ServerAliveCountMax = 4;
|
||||
#StrictHostKeyChecking = "no";
|
||||
#UserKnownHostsFile = "/dev/null";
|
||||
user = "s_01j7xkk335kbnr7r19zhssxn29";
|
||||
};
|
||||
"github.com" = {
|
||||
hostname = "github.com";
|
||||
|
||||
Reference in New Issue
Block a user