From f17924a0fcb57f5f78c6888cf1b80a36ff5b6312 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Sun, 14 Apr 2024 17:57:44 +0200 Subject: [PATCH] some stuff for sway --- home/modules/rofi.nix | 1 + hosts/aarch64-linux/alastor/default.nix | 6 ++++++ hosts/aarch64-linux/alastor/hardware-configuration.nix | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/home/modules/rofi.nix b/home/modules/rofi.nix index b770bc8..ed00375 100644 --- a/home/modules/rofi.nix +++ b/home/modules/rofi.nix @@ -7,6 +7,7 @@ }: { programs.rofi = { enable = true; + package = pkgs.rofi-wayland; extraConfig = { terminal = "wezterm"; disable-history = false; diff --git a/hosts/aarch64-linux/alastor/default.nix b/hosts/aarch64-linux/alastor/default.nix index 023bfe5..8f81ba2 100644 --- a/hosts/aarch64-linux/alastor/default.nix +++ b/hosts/aarch64-linux/alastor/default.nix @@ -113,6 +113,11 @@ wl-clipboard xclip + sway + swaylock-effects + wmenu + foot + gnomeExtensions.appindicator gnomeExtensions.tray-icons-reloaded gnomeExtensions.blur-my-shell @@ -121,6 +126,7 @@ jellyfin-web jellyfin-ffmpeg ]; + security.pam.services.swaylock = {}; services.udev.packages = with pkgs; [gnome.gnome-settings-daemon]; # Some programs need SUID wrappers, can be configured further or are diff --git a/hosts/aarch64-linux/alastor/hardware-configuration.nix b/hosts/aarch64-linux/alastor/hardware-configuration.nix index 1f78e79..e0c50e5 100644 --- a/hosts/aarch64-linux/alastor/hardware-configuration.nix +++ b/hosts/aarch64-linux/alastor/hardware-configuration.nix @@ -30,7 +30,7 @@ swapDevices = [ { device = "/var/lib/swapfile"; - size = 8 * 1024; + size = 12 * 1024; } ];