mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 10:09:04 +02:00
Lot of changes, playing with ssh keys
This commit is contained in:
parent
920ac9efc4
commit
6096bc5515
13 changed files with 168 additions and 17 deletions
|
@ -11,6 +11,7 @@
|
|||
./home-julien.nix
|
||||
];
|
||||
|
||||
|
||||
luj = {
|
||||
mediaserver.enable = true;
|
||||
homepage.enable = true;
|
||||
|
|
|
@ -1,5 +1,24 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
|
||||
sops.secrets.ssh-lisa-pub = {
|
||||
owner = "julien";
|
||||
path = "/home/julien/.ssh/id_ed25519.pub";
|
||||
mode = "0644";
|
||||
format = "binary";
|
||||
sopsFile = ../../secrets/ssh-lisa-pub;
|
||||
};
|
||||
|
||||
sops.secrets.ssh-lisa-priv = {
|
||||
owner = "julien";
|
||||
path = "/home/julien/.ssh/id_ed25519";
|
||||
mode = "0600";
|
||||
format = "binary";
|
||||
sopsFile = ../../secrets/ssh-lisa-priv;
|
||||
};
|
||||
|
||||
|
||||
|
||||
luj.hmgr.julien = {
|
||||
luj.programs.neovim.enable = true;
|
||||
luj.programs.ssh-client.enable = true;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
authorizedKeys = lib.splitString "\n"
|
||||
(builtins.readFile (pkgs.fetchurl {
|
||||
url = "https://github.com/JulienMalka.keys";
|
||||
sha256 = "sha256-jx0/AAAeq5d6h1ytdUUnF/bMcn4h0UIKQCwzi3S5+YQ=";
|
||||
sha256 = "sha256-nBgn7jOqi/nPHhTy3x/oirL+A4X2gbmwy1NXLZhV99M=";
|
||||
}));
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue