From 5870348b72628590ef41b6aad01892691533255b Mon Sep 17 00:00:00 2001 From: Geir Okkenhaug Jerstad Date: Tue, 18 Jun 2024 12:12:36 +0200 Subject: [PATCH] added incus to laptop --- laptop/configuration.nix | 6 ++++-- laptop/incus.nix | 9 +++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 laptop/incus.nix diff --git a/laptop/configuration.nix b/laptop/configuration.nix index 90d77d0..cd578da 100644 --- a/laptop/configuration.nix +++ b/laptop/configuration.nix @@ -13,7 +13,8 @@ ./fonts.nix ./k8s.nix ./tail.nix - ./pmb.nix + ./pmb.nix + ./incus.nix ]; # Bootloader. @@ -37,7 +38,8 @@ # Networking networking.networkmanager.enable = true; networking.hostName = "idea"; - + networking.nftables.enable = true; + # Enable the OpenSSH daemon. services.openssh.enable = true; diff --git a/laptop/incus.nix b/laptop/incus.nix new file mode 100644 index 0000000..5eaaa6d --- /dev/null +++ b/laptop/incus.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: +{ + virtualisation.incus.enable = true; + + environment.systemPackages = with pkgs; [ + incus + lxc + ]; +}