This commit is contained in:
2024-01-24 22:36:34 +00:00
parent d2150a7470
commit 8c279674b0
12 changed files with 264 additions and 260 deletions

View File

@@ -31,11 +31,9 @@
# home.file."/home/sstent/justfile".source = ./justfile;
home.file."/home/sstent/justfile".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/vmimages/dotfiles/${config.home.username}/justfile";
home.file."/home/sstent/.config/bash-completions/nomad_.bash".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/vmimages/dotfiles/${config.home.username}/nomad_.bash";
# home.file."/home/sstent/.config/beets/test".source = config.lib.file.mkOutOfStoreSymlink /run/user/1000/secrets/test;
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.packages = with pkgs; [
@@ -65,7 +63,8 @@
# deploy-rs
gnumake
unstable.keybase
];
# my.prometheus-api-client
];
custom = {
ssh-proxy.enable = false;
@@ -107,7 +106,7 @@
export LANG=C
for command in $({ just --summary; just -l | grep "# alias for " | awk "{print \$1}"; } | tr " " "\\n" | sed "/^default\$/d" | xargs);
for command in $({ just --summary; just -l | grep "# alias for " | awk "{print \$1}"; } | tr " " "\\n" | sed "/^default\$/d" | xargs);
do
alias $command="just $command"
done
@@ -124,9 +123,9 @@
ssh = {
enable = true;
extraConfig = ''
StrictHostKeyChecking no
UpdateHostKeys yes
identityFile = "~/.ssh/id_rsa"
StrictHostKeyChecking no
UpdateHostKeys yes
identityFile = "~/.ssh/id_rsa"
'';
matchBlocks = {
# "*" = {
@@ -145,7 +144,7 @@
};
};
##pr2100
"192.168.1.109" = {
"192.168.1.109" = {
user = "sshd";
extraOptions = {
StrictHostKeyChecking = "no";
@@ -154,7 +153,7 @@
};
};
##USG
"192.168.1.1" = {
"192.168.1.1" = {
user = "fbleagh";
extraOptions = {
StrictHostKeyChecking = "no";
@@ -162,7 +161,7 @@
PubkeyAcceptedKeyTypes = "+ssh-rsa"; ##needed to allow the USG to login with ssh key
};
};
"router" = {
"router" = {
user = "fbleagh";
extraOptions = {
StrictHostKeyChecking = "no";

View File

@@ -5,5 +5,4 @@ pkgs.python3.withPackages (p:
setuptools # setup.py
paramiko # ssh library
prometheus-api-client
])