add docker

This commit is contained in:
Leon Vita 2022-10-02 22:29:45 +01:00
parent ed6b4ea5be
commit 79d3780b54
1 changed files with 5 additions and 3 deletions

View File

@ -65,13 +65,15 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wget vim python3Full python310Packages.pip nmap htop wireguard-tools wget vim python3Full python310Packages.pip nmap htop wireguard-tools docker-compose
]; ];
virtualisation.docker.enable = true;
users.users.leon = { users.users.leon = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" "docker" ];
createHome = true; createHome = true;
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM2zpmWA3Z9zshWaU8k1SWyJnbAyasOu9pV+9BvTY0XE leon@¯\_()_/¯" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM2zpmWA3Z9zshWaU8k1SWyJnbAyasOu9pV+9BvTY0XE leon@¯\_()_/¯"
@ -105,7 +107,7 @@
#----------------------End-Routing---------------------------- #----------------------End-Routing----------------------------
peers = [ peers = [
# ------------------leon-------------------------. # ------------------leon-------------------------.
{ {
#leoncloud-vm #leoncloud-vm
publicKey = "YhcC/xMYxh7GIyndbgBZ05oE3aTJXK4T7JgZwUDyd08="; publicKey = "YhcC/xMYxh7GIyndbgBZ05oE3aTJXK4T7JgZwUDyd08=";