aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/aptos/default.nix21
-rw-r--r--profiles/workstation.nix6
2 files changed, 14 insertions, 13 deletions
diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix
index 0676887..af796cf 100644
--- a/hosts/aptos/default.nix
+++ b/hosts/aptos/default.nix
@@ -1,7 +1,13 @@
-{ ... }:
+{ self, ... }:
{
- imports = [ ./hardware.nix ./sound.nix ./networking.nix ./services.nix ];
+ imports = [
+ ./hardware.nix
+ ./sound.nix
+ ./networking.nix
+ ./services.nix
+ "${self}/profiles/workstation.nix"
+ ];
# Allow setting GTK configuration using home-manager
programs.dconf.enable = true;
@@ -12,17 +18,6 @@
# install and configure sway
my.programs.sway.enable = true;
- virtualisation.docker = { enable = true; };
-
- virtualisation.containerd = {
- enable = true;
- settings = {
- plugins."io.containerd.grpc.v1.cri" = {
- containerd.snapshotter = "overlayfs";
- };
- };
- };
-
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave
diff --git a/profiles/workstation.nix b/profiles/workstation.nix
new file mode 100644
index 0000000..484d110
--- /dev/null
+++ b/profiles/workstation.nix
@@ -0,0 +1,6 @@
+{ pkgs, config, lib, ... }:
+{
+ virtualisation.docker.enable = false;
+ virtualisation.podman.enable = true;
+ virtualisation.podman.dockerCompat = true;
+}