From 4ef9e55134a33a650c9812d8ea149ccec6f5ec1f Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 24 Aug 2023 21:46:44 -0500 Subject: [PATCH] Packs --- host/laptop/sway/config | 3 +++ os/linux/nix/machines/thinker.nix | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/host/laptop/sway/config b/host/laptop/sway/config index 71e1c36..aebcd71 100644 --- a/host/laptop/sway/config +++ b/host/laptop/sway/config @@ -12,6 +12,9 @@ input type:keyboard { # events disabled # } +output "Dell Inc. DELL U2720Q CWTM623" transform 0 scale 1.0 +output "Dell Inc. DELL U2720Q CWTM623" mode 3840x2160 + input type:touchpad { } diff --git a/os/linux/nix/machines/thinker.nix b/os/linux/nix/machines/thinker.nix index 8149621..f4e0e25 100644 --- a/os/linux/nix/machines/thinker.nix +++ b/os/linux/nix/machines/thinker.nix @@ -61,6 +61,7 @@ in }; }; + hardware.bluetooth.enable = true; hardware.opengl = { enable = true; driSupport32Bit = true; @@ -197,12 +198,14 @@ in nil nixpkgs-fmt noto-fonts + openssl pamixer (pass.withExtensions (exts: [ exts.pass-otp ])) pavucontrol pciutils pgcli playerctl + podman-compose pulseaudio pulsemixer rclone @@ -311,6 +314,23 @@ in ''; }; + + virtualisation = { + podman = { + enable = true; + + # Create a `docker` alias for podman, to use it as a drop-in replacement + dockerCompat = true; + + # Required for containers under podman-compose to be able to talk to each other. + defaultNetwork.settings.dns_enabled = true; + }; + + oci-containers = { + backend = "podman"; + }; + }; + # Open ports in the firewall. networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedUDPPorts = [ ];