From d8672d109a6904b68ec579ff83e2c2e73fd8ae84 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 29 Jun 2024 11:03:07 +0100 Subject: [PATCH] Inital setup of lxd on nebula --- hosts/common/optional/lxd.nix | 7 +++++++ hosts/nebula/default.nix | 1 + 2 files changed, 8 insertions(+) create mode 100644 hosts/common/optional/lxd.nix diff --git a/hosts/common/optional/lxd.nix b/hosts/common/optional/lxd.nix new file mode 100644 index 0000000..5df8a9b --- /dev/null +++ b/hosts/common/optional/lxd.nix @@ -0,0 +1,7 @@ +{ + virtualisation.lxc = { + enable = true; + lxcfs.enable = true; + }; +} + diff --git a/hosts/nebula/default.nix b/hosts/nebula/default.nix index 38ad52f..e146d9f 100644 --- a/hosts/nebula/default.nix +++ b/hosts/nebula/default.nix @@ -23,6 +23,7 @@ in # Import optional options ../common/optional/openssh.nix + ../common/optional/lxd.nix ];