Skip to content

Commit

Permalink
add linux containers lxd
Browse files Browse the repository at this point in the history
  • Loading branch information
solidsnakedev committed Nov 28, 2023
1 parent c26eba4 commit f606a80
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions hosts/nixos/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
users.users.homeserver = {
isNormalUser = true;
description = "home-server";
extraGroups = [ "networkmanager" "wheel" "docker" ];
extraGroups = [ "networkmanager" "wheel" "docker" "lxd" ];
packages = with pkgs; [
firefox
# thunderbird
Expand Down Expand Up @@ -120,7 +120,7 @@
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
networking.firewall.enable = false;

# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
Expand Down Expand Up @@ -151,6 +151,10 @@
virtualisation.docker = {
enable = true;
};
# LXD
virtualisation.lxd = {
enable = true;
};

# Enable tailscale. We manually authenticate when we want with
# "sudo tailscale up". If you don't use tailscale, you should comment
Expand Down

0 comments on commit f606a80

Please sign in to comment.