From 53a39bc6f60b8d19964a64583fbf10088b7c8d20 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Mon, 4 Nov 2024 10:06:11 +0530 Subject: (update): dwl, vm config --- modules/core/bluetooth.nix | 2 +- modules/laptop.nix | 4 ++-- modules/login.nix | 3 ++- modules/virtualization.nix | 1 + modules/wm_utils.nix | 4 ++++ 5 files changed, 10 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/core/bluetooth.nix b/modules/core/bluetooth.nix index fbd9b48..5e64d97 100644 --- a/modules/core/bluetooth.nix +++ b/modules/core/bluetooth.nix @@ -3,5 +3,5 @@ { hardware.bluetooth.enable = true; hardware.bluetooth.powerOnBoot = true; - # services.blueman.enable = true; + services.blueman.enable = true; } diff --git a/modules/laptop.nix b/modules/laptop.nix index 092e61f..3dfdd29 100644 --- a/modules/laptop.nix +++ b/modules/laptop.nix @@ -1,7 +1,7 @@ { pkgs, config, ... }: { - /* services.tlp = { + services.tlp = { enable = true; settings = { CPU_SCALING_GOVERNOR_ON_AC = "performance"; @@ -10,7 +10,7 @@ CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; }; - }; */ + }; boot = { kernelModules = [ "acpi_call" ]; diff --git a/modules/login.nix b/modules/login.nix index ab32e2d..0789cff 100644 --- a/modules/login.nix +++ b/modules/login.nix @@ -10,7 +10,8 @@ enable = true; settings = { default_session = { - command = "tuigreet --time --remember --cmd \"startplasma-wayland\""; + # command = "tuigreet --time --remember --cmd \"startplasma-wayland\""; + command = "tuigreet --time --remember --cmd \"dwl -s dwlb\""; user = "greeter"; }; }; diff --git a/modules/virtualization.nix b/modules/virtualization.nix index 8ea8fed..28d9fe1 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -27,6 +27,7 @@ pkgs.libvirt #pkgs.vagrant pkgs.virt-viewer + pkgs.guestfs-tools (pkgs.writeShellScriptBin "pin-cpu" '' if [[ $1 == "" ]]; then diff --git a/modules/wm_utils.nix b/modules/wm_utils.nix index c61bba4..da5c672 100644 --- a/modules/wm_utils.nix +++ b/modules/wm_utils.nix @@ -22,5 +22,9 @@ xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-wlr pkgs.xdg-desktop-portal ]; xdg.portal.config.common.default = "wlr"; + environment.variables = { + XCURSOR_SIZE = "16"; + }; + services.dbus.enable = true; } -- cgit v1.2.3