refactor user import

This commit is contained in:
Luj 2024-03-30 21:36:12 +01:00
parent 76487f4e42
commit cc5eb4946c
Signed by: luj
GPG key ID: 6FC74C847011FD83
9 changed files with 17 additions and 31 deletions

View file

@ -5,8 +5,6 @@
[
./hardware.nix
./home-julien.nix
../../users/julien.nix
../../users/default.nix
../../share.nix
];
@ -99,26 +97,26 @@
];
networking.wireguard.interfaces.rezo = {
ips = [ "fd81:fb3a:50cc::200/128" ];
networking.wireguard.interfaces.rezo = {
ips = [ "fd81:fb3a:50cc::200/128" ];
privateKeyFile = "/root/wg-private";
peers = [
{
publicKey = "srQPT9ZjXBKyJ7R1mvXYMZNy+NcnHMy5qE1WGZDfmnc=";
allowedIPs = [ "fd81:fb3a:50cc::/48" ];
endpoint = "129.199.146.230:25351";
}
];
};
peers = [
{
publicKey = "srQPT9ZjXBKyJ7R1mvXYMZNy+NcnHMy5qE1WGZDfmnc=";
allowedIPs = [ "fd81:fb3a:50cc::/48" ];
endpoint = "129.199.146.230:25351";
}
];
};
services.hash-collection = {
enable = true;
retries = 1;
collection-url = "http://localhost:8000";
tokenFile = "/home/julien/token";
};
};
services.printing.enable = true;
services.avahi.enable = true;