exitnode and docker gc
This commit is contained in:
@@ -71,7 +71,10 @@
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
|
# macbook
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICpiU4gStAtrJOBSkQA2YJh98fpWPpxWtWgwAGzVa/wc johansson.olov@gmail.com"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICpiU4gStAtrJOBSkQA2YJh98fpWPpxWtWgwAGzVa/wc johansson.olov@gmail.com"
|
||||||
|
# phone
|
||||||
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHCIwXs/XPwWfdvaAbGYYX8jVu6CP8MhR7qFTaW2hu6Go4X1+1RTuPQ5RwZSj5pKf2Cyn33pY9KuzIChpKLs9uZrNS08BO6SrcjNtcRJrUOAIq8uKqHOXmq2x2PXbHm6vKp5MwRRanQ/Pa1O2P8kYq8HIBlviD5jUzOtEj8neBfJ/x49+27eHvJdwD2whSy0uty7TfNJi180sJGmepjL4SftGTwcevyvkm+koHj0aDRXxOlFhtrpsbdagg4UHe04ljiUF9urGcA3BSRTKuYbSl+MBsX+YxS97Vi4zT6oqwfh5RPzNZ8v3kZaN51jB369UWlAws0+OgGxIfwVUCf6j1 nixserve"
|
||||||
];
|
];
|
||||||
description = "ulve";
|
description = "ulve";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
|
|||||||
@@ -87,6 +87,11 @@ in
|
|||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableOnBoot = true;
|
enableOnBoot = true;
|
||||||
|
autoPrune = {
|
||||||
|
enable = true;
|
||||||
|
dates = "weekly";
|
||||||
|
flags = [ "--all" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.transmission = dockerService {
|
systemd.services.transmission = dockerService {
|
||||||
@@ -113,6 +118,12 @@ in
|
|||||||
dir = "/home/ulve/code/bookthing";
|
dir = "/home/ulve/code/bookthing";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.tailscale-exit = dockerService {
|
||||||
|
name = "tailscale-exit";
|
||||||
|
description = "Tailscale exit node via Mullvad VPN";
|
||||||
|
dir = "/home/ulve/code/tailscale";
|
||||||
|
};
|
||||||
|
|
||||||
systemd.services.dozzle = {
|
systemd.services.dozzle = {
|
||||||
description = "Dozzle Docker log viewer";
|
description = "Dozzle Docker log viewer";
|
||||||
after = [ "docker.service" "network.target" ];
|
after = [ "docker.service" "network.target" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user