remove waydroid

This commit is contained in:
Adithya 2024-02-24 19:58:48 +05:30
parent b41f3912ab
commit f43c1b8c9e
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
5 changed files with 2 additions and 10 deletions

View file

@ -30,7 +30,6 @@ _: {
"Pictures"
"Videos"
{ directory = ".config/nvim"; method = "symlink"; }
{ directory = ".local/share/waydroid"; method = "symlink"; }
{ directory = ".config/nixos"; method = "symlink"; }
{ directory = ".local/share/nvim"; method = "symlink"; }
{ directory = "Projects"; method = "symlink"; }

View file

@ -1,9 +1,7 @@
{ lib, pkgs, config, osConfig, ... }:
{ config, ... }:
let
hyprctl = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl";
swaylock = "${config.programs.swaylock.package}/bin/swaylock";
waydroid = "${pkgs.waydroid}/bin/waydroid";
waydroidEnabled = osConfig.virtualisation.waydroid.enable;
in
{
services.swayidle = {
@ -12,7 +10,7 @@ in
events = [
{
event = "before-sleep";
command = "${lib.optionalString waydroidEnabled "${waydroid} session stop; "}${swaylock} -f -i /tmp/wallpaper.jpg";
command = "${swaylock} -f -i /tmp/wallpaper.jpg";
}
];
timeouts = [

View file

@ -147,9 +147,6 @@ in
"center,class:lutris"
"size 60% 60%,class:lutris"
"float,class:^(Waydroid)$"
"float,class:^(waydroid.+)$"
"dimaround,class:^(gcr-prompter)$"
];

View file

@ -20,7 +20,6 @@ _: {
"/var/lib/nixos"
"/var/lib/portables"
"/var/lib/systemd"
"/var/lib/waydroid"
"/var/log"
];
files = [

View file

@ -16,6 +16,5 @@
};
};
};
waydroid.enable = true;
};
}