1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

pimp network/ssh config

This commit is contained in:
Kierán Meinhardt
2019-01-27 11:16:11 +01:00
parent 3d29474b66
commit 8f5bf08c59
3 changed files with 25 additions and 6 deletions

View File

@@ -113,6 +113,10 @@ let vim_conf = ''
autocmd bufwinenter * if &fdm == 'indent' | setlocal foldmethod=manual | endif
endif
if exists("g:loaded_startify")
let g:startify_custom_header = \'\'
endif
"if exists("g:loaded_airline")
set noshowmode laststatus=0 noruler
let g:airline#extensions#tabline#close_symbol = 'X'

View File

@@ -18,6 +18,7 @@
${pkgs.feh}/bin/feh --bg-fill $(find ${../art} -type f | shuf -n 1) &
${pkgs.dropbox-cli}/bin/dropbox start &
${pkgs.seafile-client}/bin/seafile-applet &
${pkgs.openssh}/bin/ssh-add
'';
displayManager.lightdm.greeters.gtk = {
enable = true;

View File

@@ -1,7 +1,11 @@
{ pkgs, config, ... }:
{ pkgs, config, lib, ... }:
{
networking.hosts = {
"192.168.178.27" = [ "printer.local" ];
networking.hosts = lib.mapAttrs (_: value: [ (value + ".local") ]) {
"192.168.178.21" = "scardanelli";
"192.168.178.27" = "printer";
"192.168.178.1" = "router";
"192.168.178.24" = "lestrade";
"192.168.178.22" = "homeros";
};
networking.wireless = {
@@ -29,16 +33,26 @@
programs.ssh = {
enable = true;
matchBlocks = {};
matchBlocks = {
"lestrade" = {
hostname = "lestrade.local";
user = "pi";
};
};
};
};
programs.ssh = {
startAgent = true;
agentTimeout = "10m";
knownHosts = [];
forwardX11 = true;
};
services.openssh = {
ports = [ 10022 ];
enable = true;
forwardX11 = true;
};
services.openssh.forwardX11 = true;
networking.retiolum = {
scardanelli = {