remove waydroid
This commit is contained in:
parent
b41f3912ab
commit
f43c1b8c9e
5 changed files with 2 additions and 10 deletions
|
@ -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"; }
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -147,9 +147,6 @@ in
|
|||
"center,class:lutris"
|
||||
"size 60% 60%,class:lutris"
|
||||
|
||||
"float,class:^(Waydroid)$"
|
||||
"float,class:^(waydroid.+)$"
|
||||
|
||||
"dimaround,class:^(gcr-prompter)$"
|
||||
];
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ _: {
|
|||
"/var/lib/nixos"
|
||||
"/var/lib/portables"
|
||||
"/var/lib/systemd"
|
||||
"/var/lib/waydroid"
|
||||
"/var/log"
|
||||
];
|
||||
files = [
|
||||
|
|
|
@ -16,6 +16,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
waydroid.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue