From d5d5c9b767d447ef87feb035d1e759714a029821 Mon Sep 17 00:00:00 2001 From: tomoron Date: Fri, 31 Jan 2025 22:44:02 +0100 Subject: [PATCH] use rofi-wayland instead of rofi through xserver --- configuration.nix | 1 + home.nix | 4 +--- homes/ft/ft.nix | 1 + hosts/laptop.nix | 12 ++++++------ hosts/modules/game.nix | 6 +++--- modules/hyprland.nix | 3 +++ 6 files changed, 15 insertions(+), 12 deletions(-) diff --git a/configuration.nix b/configuration.nix index 473776b..2a28032 100644 --- a/configuration.nix +++ b/configuration.nix @@ -61,6 +61,7 @@ usbutils man-pages stress + ffmpeg ]; #Open ports in the firewall. diff --git a/home.nix b/home.nix index 47350fe..c98976e 100644 --- a/home.nix +++ b/home.nix @@ -6,7 +6,7 @@ # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2024/10/17 18:15:38 by tomoron #+# #+# # -# Updated: 2025/01/03 12:14:50 by tomoron ### ########.fr # +# Updated: 2025/01/30 14:05:36 by tomoron ### ########.fr # # # # **************************************************************************** # @@ -58,7 +58,6 @@ polybarFull sxhkd nitrogen - rofi neovim ripgrep activate-linux @@ -68,7 +67,6 @@ unison discord google-chrome - wofi brightnessctl playerctl swaybg diff --git a/homes/ft/ft.nix b/homes/ft/ft.nix index 305da6d..52b56ac 100644 --- a/homes/ft/ft.nix +++ b/homes/ft/ft.nix @@ -7,6 +7,7 @@ neovim dmenu brightnessctl + rofi ]; home.file = { diff --git a/hosts/laptop.nix b/hosts/laptop.nix index 60a5ba1..bd69759 100644 --- a/hosts/laptop.nix +++ b/hosts/laptop.nix @@ -6,11 +6,11 @@ modules/nvidia.nix modules/vboxHost.nix ]; - - systemd.tmpfiles.rules = [ - "f /dev/shm/looking-glass 0660 tom libvirtd -" - ]; - virtualisation.libvirtd.qemu.vhostUserPackages = with pkgs; [ virtiofsd ]; + boot.kernelParams = [ "kvm.enable_virt_at_load=0" ]; +# systemd.tmpfiles.rules = [ +# "f /dev/shm/looking-glass 0660 tom libvirtd -" +# ]; +# virtualisation.libvirtd.qemu.vhostUserPackages = with pkgs; [ virtiofsd ]; networking.hostName = "patate-douce"; networking.wireless.enable = true; @@ -45,7 +45,7 @@ turbo = "never"; }; charger = { - governor = "powersave"; + governor = "performance"; turbo = "auto"; }; }; diff --git a/hosts/modules/game.nix b/hosts/modules/game.nix index 0f06699..0a835f1 100644 --- a/hosts/modules/game.nix +++ b/hosts/modules/game.nix @@ -4,7 +4,7 @@ programs.steam.enable=true; programs.steam.protontricks.enable=true; - environment.systemPackages = with pkgs; [ qemu quickemu]; - programs.virt-manager.enable = true; - virtualisation.libvirtd.enable = true; +# environment.systemPackages = with pkgs; [ qemu quickemu]; +# programs.virt-manager.enable = true; +# virtualisation.libvirtd.enable = true; } diff --git a/modules/hyprland.nix b/modules/hyprland.nix index 471a9db..1d832e9 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -2,6 +2,9 @@ { # services.hypridle.enable = true; + home.packages = with pkgs; [ + rofi-wayland + ]; services.hypridle = { enable = true; settings = {