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:
@@ -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'
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user