mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 02:09:04 +02:00
Much change, kinda broke my git history
This commit is contained in:
parent
077322deaf
commit
4b0d80d349
13 changed files with 108 additions and 19 deletions
|
@ -29,7 +29,7 @@ with lib;
|
|||
msmtp.enable = true;
|
||||
primary = true;
|
||||
realName = "Julien Malka";
|
||||
passwordCommand = "${pkgs.gnupg}/bin/gpg -q --batch --passphrase-file /home/julien/email-passphrase -d ${./ens.pass.gpg}";
|
||||
passwordCommand = "cat /home/julien/.config/ens-mail-passwd";
|
||||
smtp = {
|
||||
host = "clipper.ens.fr";
|
||||
};
|
||||
|
|
|
@ -54,6 +54,7 @@ with lib;
|
|||
rnix-lsp
|
||||
tree-sitter
|
||||
sumneko-lua-language-server
|
||||
ripgrep
|
||||
];
|
||||
extraConfig = ''
|
||||
luafile ${./lua}/lsp.lua
|
||||
|
|
37
home-manager-modules/ssh-client/default.nix
Normal file
37
home-manager-modules/ssh-client/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
cfg = config.luj.programs.ssh-client;
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
options.luj.programs.ssh-client = {
|
||||
enable = mkEnableOption "Enable ssh client";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
newton = {
|
||||
hostname = "newton.julienmalka.me";
|
||||
user = "julien";
|
||||
port = 45;
|
||||
};
|
||||
lisa = {
|
||||
hostname = "2a01:e0a:5f9:9681:5880:c9ff:fe9f:3dfb";
|
||||
user = "julien";
|
||||
# port = 45;
|
||||
};
|
||||
newton-init = {
|
||||
hostname = "newton.julienmalka.me";
|
||||
user = "root";
|
||||
port = 2222;
|
||||
};
|
||||
sas = {
|
||||
hostname = "sas.eleves.ens.fr";
|
||||
user = "jmalka";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue