mirror of
https://github.com/sstent/vmimages.git
synced 2026-02-06 20:41:41 +00:00
sync
This commit is contained in:
@@ -101,6 +101,11 @@
|
|||||||
# ssh-add -l
|
# ssh-add -l
|
||||||
export PATH=$PATH:/bin #Fix for wslpath
|
export PATH=$PATH:/bin #Fix for wslpath
|
||||||
|
|
||||||
|
# Fix ssh completion
|
||||||
|
# bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
|
||||||
|
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
|
do
|
||||||
alias $command="just $command"
|
alias $command="just $command"
|
||||||
@@ -138,6 +143,32 @@
|
|||||||
UserKnownHostsFile = "/dev/null";
|
UserKnownHostsFile = "/dev/null";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
##pr2100
|
||||||
|
"192.168.1.109" = {
|
||||||
|
user = "sshd";
|
||||||
|
extraOptions = {
|
||||||
|
StrictHostKeyChecking = "no";
|
||||||
|
UpdateHostKeys = "yes";
|
||||||
|
PubkeyAcceptedKeyTypes = "+ssh-rsa"; ##needed to allow the USG to login with ssh key
|
||||||
|
};
|
||||||
|
};
|
||||||
|
##USG
|
||||||
|
"192.168.1.1" = {
|
||||||
|
user = "fbleagh";
|
||||||
|
extraOptions = {
|
||||||
|
StrictHostKeyChecking = "no";
|
||||||
|
UpdateHostKeys = "yes";
|
||||||
|
PubkeyAcceptedKeyTypes = "+ssh-rsa"; ##needed to allow the USG to login with ssh key
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"router" = {
|
||||||
|
user = "fbleagh";
|
||||||
|
extraOptions = {
|
||||||
|
StrictHostKeyChecking = "no";
|
||||||
|
UpdateHostKeys = "yes";
|
||||||
|
PubkeyAcceptedKeyTypes = "+ssh-rsa"; ##needed to allow the USG to login with ssh key
|
||||||
|
};
|
||||||
|
};
|
||||||
"odroid*" = {
|
"odroid*" = {
|
||||||
user = "root";
|
user = "root";
|
||||||
extraOptions = {
|
extraOptions = {
|
||||||
|
|||||||
@@ -65,6 +65,22 @@
|
|||||||
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
||||||
# nix.nixPath = [ "nixpkgs=pkgs.outPath" ];
|
# nix.nixPath = [ "nixpkgs=pkgs.outPath" ];
|
||||||
networking.search = ["node.dc1.consul" "service.dc1.consul"];
|
networking.search = ["node.dc1.consul" "service.dc1.consul"];
|
||||||
|
networking.nameservers = ["192.168.1.1" "1.1.1.1"];
|
||||||
|
# Enable networking
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
# Select internationalisation properties.
|
||||||
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
|
i18n.extraLocaleSettings = {
|
||||||
|
LC_ADDRESS = "en_US.UTF-8";
|
||||||
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
||||||
|
LC_MEASUREMENT = "en_US.UTF-8";
|
||||||
|
LC_MONETARY = "en_US.UTF-8";
|
||||||
|
LC_NAME = "en_US.UTF-8";
|
||||||
|
LC_PAPER = "en_US.UTF-8";
|
||||||
|
LC_TELEPHONE = "en_US.UTF-8";
|
||||||
|
};
|
||||||
|
|
||||||
#services.envfs.enable = true;
|
#services.envfs.enable = true;
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ in {
|
|||||||
wslConf.automount.root = "/mnt";
|
wslConf.automount.root = "/mnt";
|
||||||
defaultUser = "sstent";
|
defaultUser = "sstent";
|
||||||
startMenuLaunchers = true;
|
startMenuLaunchers = true;
|
||||||
|
wslConf.network.generateResolvConf = false;
|
||||||
# wslConf.interop.appendWindowsPath = false;
|
# wslConf.interop.appendWindowsPath = false;
|
||||||
#No longer needed in 23.05
|
#No longer needed in 23.05
|
||||||
#interop.preserveArgvZero = true;
|
#interop.preserveArgvZero = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user