summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-11-04 10:06:11 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-11-04 10:06:11 +0530
commit53a39bc6f60b8d19964a64583fbf10088b7c8d20 (patch)
tree48fbaf3ed1cf3450a570d373a95fb23db88636d2 /modules
parentb13a66ee6f5c5bad7425a2cdbb64ddb4267bcf9a (diff)
(update): dwl, vm config
Diffstat (limited to 'modules')
-rw-r--r--modules/core/bluetooth.nix2
-rw-r--r--modules/laptop.nix4
-rw-r--r--modules/login.nix3
-rw-r--r--modules/virtualization.nix1
-rw-r--r--modules/wm_utils.nix4
5 files changed, 10 insertions, 4 deletions
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;
}