mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nix: Add host polder and refractor modules
This commit is contained in:
parent
1b99070718
commit
3756bbfb45
38 changed files with 284 additions and 172 deletions
22
nixcfgs/modules/nixos/desktop/waydroid.nix
Normal file
22
nixcfgs/modules/nixos/desktop/waydroid.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
virtualisation.waydroid.enable = true;
|
||||
nixpkgs.overlays = [
|
||||
inputs.nur.overlays.default
|
||||
];
|
||||
# waydroid-script: Tool to install libhoudini (arm support), magisk, ...
|
||||
# usage: sudo waydroid-script
|
||||
environment.systemPackages = with pkgs; [
|
||||
nur.repos.ataraxiasjel.waydroid-script
|
||||
waydroid-helper
|
||||
];
|
||||
systemd = {
|
||||
packages = [ pkgs.waydroid-helper ];
|
||||
services.waydroid-mount = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.waydroid-helper}/bin/waydroid-helper --start-mount";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue