add server

This commit is contained in:
Hadi
2024-06-17 23:29:47 +02:00
parent d1b581fd58
commit 25d4dc93f1
8 changed files with 247 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
{ pkgs, inputs, ... }: {
imports = [ inputs.sops-nix.homeManagerModules.sops ];
home.packages = with pkgs; [ sops age ];
sops = {
age.keyFile = "/home/hadi/.config/sops/age/keys.txt";
defaultSopsFile = ../../../secrets/laptop.yaml;
secrets = {
sshconfig = { path = "/home/hadi/.ssh/config"; };
github-key = { path = "/home/hadi/.ssh/github"; };
};
};
systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ];
}