From 2c1207502ff1d6220b724c978bb437eac1170d5a Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 8 Feb 2024 03:13:14 +0300 Subject: [PATCH] System : Add toolbox. --- .config/linux/system/flake.nix | 5 +---- .config/linux/system/module/common/Package.nix | 1 - .config/linux/system/module/common/Toolbox.nix | 15 +++++++++++++++ 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 .config/linux/system/module/common/Toolbox.nix diff --git a/.config/linux/system/flake.nix b/.config/linux/system/flake.nix index dcb7253..5a5a83a 100644 --- a/.config/linux/system/flake.nix +++ b/.config/linux/system/flake.nix @@ -16,6 +16,7 @@ ./module/common/Root.nix ./module/common/Sshd.nix ./module/common/Swap.nix + ./module/common/Toolbox.nix ./module/common/Users.nix ]; @@ -25,7 +26,6 @@ ./host/dasha/Configuration.nix ./module/AmdGpu.nix ./module/Dasha.nix - ./module/DockerRootless.nix ./module/Flatpak.nix ./module/Gnome.nix ./module/PowersaveIntel.nix @@ -40,7 +40,6 @@ self.nixosModules.common ./host/desktop/Configuration.nix ./module/AmdGpu.nix - ./module/DockerRootless.nix ./module/Flatpak.nix ./module/Gnome.nix ./module/PowersaveAmd.nix @@ -84,7 +83,6 @@ ./host/laptop/Configuration.nix ./module/AmdGpu.nix ./module/Dasha.nix - ./module/DockerRootless.nix ./module/Flatpak.nix ./module/Gnome.nix ./module/PowersaveAmd.nix @@ -99,7 +97,6 @@ modules = [ self.nixosModules.common ./host/work/Configuration.nix - ./module/DockerRootless.nix ./module/Flatpak.nix ./module/Gnome.nix ./module/PowersaveIntel.nix diff --git a/.config/linux/system/module/common/Package.nix b/.config/linux/system/module/common/Package.nix index e2c20f5..b05526e 100644 --- a/.config/linux/system/module/common/Package.nix +++ b/.config/linux/system/module/common/Package.nix @@ -8,7 +8,6 @@ btop cryptsetup ddrescue - distrobox ffmpeg gcc git diff --git a/.config/linux/system/module/common/Toolbox.nix b/.config/linux/system/module/common/Toolbox.nix new file mode 100644 index 0000000..4aff8e1 --- /dev/null +++ b/.config/linux/system/module/common/Toolbox.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + toolbox + ]; + + virtualisation = { + podman = { + enable = true; + defaultNetwork.settings.dns_enabled = false; + dockerCompat = false; + }; + }; +}