diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/laptop/cfg.nix | 2 | ||||
-rw-r--r-- | hosts/vm/cfg.nix | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/hosts/laptop/cfg.nix b/hosts/laptop/cfg.nix index 49bdbef..01d2f26 100644 --- a/hosts/laptop/cfg.nix +++ b/hosts/laptop/cfg.nix @@ -17,6 +17,8 @@ ../../mixins/greet.nix ../../mixins/hyprland.nix ../../mixins/sway.nix + ../../mixins/pipewire.nix + ../../mixins/multimedia.nix ]; config = { diff --git a/hosts/vm/cfg.nix b/hosts/vm/cfg.nix index 7f822b0..5c47612 100644 --- a/hosts/vm/cfg.nix +++ b/hosts/vm/cfg.nix @@ -13,6 +13,7 @@ ../../mixins/tailscale.nix ../../mixins/cli.nix ../../mixins/greet.nix + ../../mixins/pipewire.nix # ../../mixins/hyprland.nix ../../mixins/sway.nix # (modulesPath + "/profiles/qemu-guest.nix") @@ -81,13 +82,17 @@ algorithm = "zstd"; }; - greeter.initialSession = "sh -c ${pkgs.sway}/bin/sway"; - hardware.opengl = { enable = true; extraPackages = with pkgs; [ rocm-opencl-icd rocm-opencl-runtime ]; driSupport = true; driSupport32Bit = true; }; + + greeter.initialSession = "env WLR_RENDERER=pixman ${pkgs.sway.out}/bin/sway"; + # home-manager.users.tzlil.wayland.windowManager.sway.config.input."type:keyboard".xkb_variant = lib.mkForce ""; + + # nice to work with + security.sudo.wheelNeedsPassword = false; }; } |