mirror of
https://github.com/kmein/niveum
synced 2026-03-18 11:01: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
|
autocmd bufwinenter * if &fdm == 'indent' | setlocal foldmethod=manual | endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if exists("g:loaded_startify")
|
||||||
|
let g:startify_custom_header = \'\'
|
||||||
|
endif
|
||||||
|
|
||||||
"if exists("g:loaded_airline")
|
"if exists("g:loaded_airline")
|
||||||
set noshowmode laststatus=0 noruler
|
set noshowmode laststatus=0 noruler
|
||||||
let g:airline#extensions#tabline#close_symbol = 'X'
|
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.feh}/bin/feh --bg-fill $(find ${../art} -type f | shuf -n 1) &
|
||||||
${pkgs.dropbox-cli}/bin/dropbox start &
|
${pkgs.dropbox-cli}/bin/dropbox start &
|
||||||
${pkgs.seafile-client}/bin/seafile-applet &
|
${pkgs.seafile-client}/bin/seafile-applet &
|
||||||
|
${pkgs.openssh}/bin/ssh-add
|
||||||
'';
|
'';
|
||||||
displayManager.lightdm.greeters.gtk = {
|
displayManager.lightdm.greeters.gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
{
|
{
|
||||||
networking.hosts = {
|
networking.hosts = lib.mapAttrs (_: value: [ (value + ".local") ]) {
|
||||||
"192.168.178.27" = [ "printer.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 = {
|
networking.wireless = {
|
||||||
@@ -29,16 +33,26 @@
|
|||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
matchBlocks = {};
|
matchBlocks = {
|
||||||
|
"lestrade" = {
|
||||||
|
hostname = "lestrade.local";
|
||||||
|
user = "pi";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
startAgent = true;
|
startAgent = true;
|
||||||
agentTimeout = "10m";
|
|
||||||
knownHosts = [];
|
knownHosts = [];
|
||||||
|
forwardX11 = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.openssh = {
|
||||||
|
ports = [ 10022 ];
|
||||||
|
enable = true;
|
||||||
|
forwardX11 = true;
|
||||||
};
|
};
|
||||||
services.openssh.forwardX11 = true;
|
|
||||||
|
|
||||||
networking.retiolum = {
|
networking.retiolum = {
|
||||||
scardanelli = {
|
scardanelli = {
|
||||||
|
|||||||
Reference in New Issue
Block a user