Compare commits
No commits in common. "bd15f1ea0290ae627b55a3c1387ae303274f0d1e" and "113127e7aa683c63421140fba0c603e82df7e366" have entirely different histories.
bd15f1ea02
...
113127e7aa
@ -47,7 +47,6 @@
|
|||||||
#openscad
|
#openscad
|
||||||
#pandoc
|
#pandoc
|
||||||
pavucontrol
|
pavucontrol
|
||||||
qalculate-qt
|
|
||||||
ripgrep
|
ripgrep
|
||||||
rofi
|
rofi
|
||||||
scli
|
scli
|
||||||
@ -205,7 +204,39 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings.email = "jacob.hinkle@gmail.com";
|
settings.email = "jacob.hinkle@gmail.com";
|
||||||
};
|
};
|
||||||
ssh = import ./ssh.nix;
|
ssh = {
|
||||||
|
enable = true;
|
||||||
|
matchBlocks = {
|
||||||
|
login1 = {
|
||||||
|
hostname = "login1.ornl.gov";
|
||||||
|
user = "4jh";
|
||||||
|
};
|
||||||
|
lucky = {
|
||||||
|
hostname = "lucky.ornl.gov";
|
||||||
|
user = "4jh";
|
||||||
|
proxyJump = "login1";
|
||||||
|
};
|
||||||
|
murdock = {
|
||||||
|
hostname = "murdock.ornl.gov";
|
||||||
|
user = "4jh";
|
||||||
|
proxyJump = "login1";
|
||||||
|
};
|
||||||
|
penny = {
|
||||||
|
hostname = "192.168.88.18";
|
||||||
|
user = "jhinkle";
|
||||||
|
};
|
||||||
|
dlcluster = {
|
||||||
|
hostname = "dlcluster.nvidia.com";
|
||||||
|
user = "jhinkle";
|
||||||
|
proxyJump = "penny";
|
||||||
|
};
|
||||||
|
router ={
|
||||||
|
hostname = "192.168.88.1";
|
||||||
|
user = "jacob";
|
||||||
|
port = 2200;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
tmux = import ./tmux.nix;
|
tmux = import ./tmux.nix;
|
||||||
xmobar = {
|
xmobar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
34
home/ssh.nix
34
home/ssh.nix
@ -1,34 +0,0 @@
|
|||||||
{
|
|
||||||
enable = true;
|
|
||||||
matchBlocks = {
|
|
||||||
login1 = {
|
|
||||||
hostname = "login1.ornl.gov";
|
|
||||||
user = "4jh";
|
|
||||||
};
|
|
||||||
lucky = {
|
|
||||||
hostname = "lucky.ornl.gov";
|
|
||||||
user = "4jh";
|
|
||||||
proxyJump = "login1";
|
|
||||||
};
|
|
||||||
murdock = {
|
|
||||||
hostname = "murdock.ornl.gov";
|
|
||||||
user = "4jh";
|
|
||||||
proxyJump = "login1";
|
|
||||||
};
|
|
||||||
penny = {
|
|
||||||
#hostname = "192.168.88.18";
|
|
||||||
hostname = "192.168.88.13";
|
|
||||||
user = "jhinkle";
|
|
||||||
};
|
|
||||||
dlcluster = {
|
|
||||||
hostname = "dlcluster.nvidia.com";
|
|
||||||
user = "jhinkle";
|
|
||||||
proxyJump = "penny";
|
|
||||||
};
|
|
||||||
router ={
|
|
||||||
hostname = "192.168.88.1";
|
|
||||||
user = "jacob";
|
|
||||||
port = 2200;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@ -78,29 +78,28 @@ myXmobarPP = def
|
|||||||
{ ppSep = magenta " • "
|
{ ppSep = magenta " • "
|
||||||
, ppTitleSanitize = xmobarStrip
|
, ppTitleSanitize = xmobarStrip
|
||||||
, ppCurrent = wrap " " "" . xmobarBorder "Top" "#8be9fd" 2
|
, ppCurrent = wrap " " "" . xmobarBorder "Top" "#8be9fd" 2
|
||||||
, ppHidden = lightGreen . wrap " " ""
|
, ppHidden = white . wrap " " ""
|
||||||
, ppHiddenNoWindows = gray . wrap " " ""
|
, ppHiddenNoWindows = lowWhite . wrap " " ""
|
||||||
, ppUrgent = red . wrap (yellow "!") (yellow "!")
|
, ppUrgent = red . wrap (yellow "!") (yellow "!")
|
||||||
, ppOrder = \[ws, l, _, wins] -> [ws, l, wins]
|
, ppOrder = \[ws, l, _, wins] -> [ws, l, wins]
|
||||||
, ppExtras = [logTitles formatFocused formatUnfocused]
|
, ppExtras = [logTitles formatFocused formatUnfocused]
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
formatFocused = wrap (white "[") (white "]") . magenta . ppWindow
|
formatFocused = wrap (white "[") (white "]") . magenta . ppWindow
|
||||||
formatUnfocused = wrap (gray "[") (gray "]") . blue . ppWindow
|
formatUnfocused = wrap (lowWhite "[") (lowWhite "]") . blue . ppWindow
|
||||||
|
|
||||||
-- | Windows should have *some* title, which should not not exceed a
|
-- | Windows should have *some* title, which should not not exceed a
|
||||||
-- sane length.
|
-- sane length.
|
||||||
ppWindow :: String -> String
|
ppWindow :: String -> String
|
||||||
ppWindow = xmobarRaw . (\w -> if null w then "untitled" else w) . shorten 30
|
ppWindow = xmobarRaw . (\w -> if null w then "untitled" else w) . shorten 30
|
||||||
|
|
||||||
blue, gray, magenta, lightGreen, red, white, yellow :: String -> String
|
blue, lowWhite, magenta, red, white, yellow :: String -> String
|
||||||
magenta = xmobarColor "#ff79c6" ""
|
magenta = xmobarColor "#ff79c6" ""
|
||||||
lightGreen = xmobarColor "#bbffbb" ""
|
blue = xmobarColor "#bd93f9" ""
|
||||||
blue = xmobarColor "#bdbdf9" ""
|
|
||||||
white = xmobarColor "#f8f8f2" ""
|
white = xmobarColor "#f8f8f2" ""
|
||||||
yellow = xmobarColor "#f1fa8c" ""
|
yellow = xmobarColor "#f1fa8c" ""
|
||||||
red = xmobarColor "#ff5555" ""
|
red = xmobarColor "#ff5555" ""
|
||||||
gray = xmobarColor "#888888" ""
|
lowWhite = xmobarColor "#bbbbbb" ""
|
||||||
|
|
||||||
addlWorkspaces :: [String]
|
addlWorkspaces :: [String]
|
||||||
addlWorkspaces = ["0", "-", "=", "i"]
|
addlWorkspaces = ["0", "-", "=", "i"]
|
||||||
|
|||||||
@ -132,14 +132,12 @@
|
|||||||
|
|
||||||
virtualisation.oci-containers.containers = let
|
virtualisation.oci-containers.containers = let
|
||||||
ips = {
|
ips = {
|
||||||
# tailscale IP for IPV4 services
|
serverIP = "192.168.88.21"; # v4 address
|
||||||
serverIP = "100.102.82.27"; # v4 address
|
|
||||||
|
|
||||||
# link-local IP = fe80:${suffix}
|
# link-local IP = fe80:${suffix}
|
||||||
# external IP = ${externalprefix}:${suffix}
|
# external IP = ${externalprefix}:${suffix}
|
||||||
#externalprefix = "2601:843:c200:20b";
|
#externalprefix = "2601:843:c200:20b";
|
||||||
#ipv6suffix = "223:24ff:fea9:a97";
|
#ipv6suffix = "223:24ff:fea9:a97";
|
||||||
# IPV6 external IP should not need to use tailscale
|
|
||||||
serverIP6 = "2601:843:c200:20b:223:24ff:fea9:a97"; # external IP
|
serverIP6 = "2601:843:c200:20b:223:24ff:fea9:a97"; # external IP
|
||||||
#serverIP6 = "fe80::223:24ff:fea9:a97"; # link-local IP
|
#serverIP6 = "fe80::223:24ff:fea9:a97"; # link-local IP
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user