cleanup
This commit is contained in:
parent
e0e06d41a2
commit
8a9a5dda52
3 changed files with 2 additions and 50 deletions
|
|
@ -72,24 +72,6 @@ in
|
||||||
storageDriver = "btrfs";
|
storageDriver = "btrfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Waydroid configuration
|
|
||||||
virtualisation.waydroid = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.waydroid-nftables.unjailed;
|
|
||||||
};
|
|
||||||
security = {
|
|
||||||
wrappers = {
|
|
||||||
waydroid = {
|
|
||||||
source = "${pkgs.waydroid}/bin/waydroid";
|
|
||||||
capabilities = "cap_net_admin=ep";
|
|
||||||
enable = true;
|
|
||||||
owner = "root";
|
|
||||||
group = "root";
|
|
||||||
program = "waydroid";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.curl
|
pkgs.curl
|
||||||
pkgs.wget
|
pkgs.wget
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
# Classic deny all
|
# Classic deny all
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 1716 ];
|
allowedTCPPorts = [ ];
|
||||||
allowedUDPPorts = [ 1716 ];
|
allowedUDPPorts = [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,34 +23,4 @@ in
|
||||||
packages = [ pkgs.home-manager ];
|
packages = [ pkgs.home-manager ];
|
||||||
shell = pkgs.bash;
|
shell = pkgs.bash;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.raphou406 = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [
|
|
||||||
"audio"
|
|
||||||
"video"
|
|
||||||
"network"
|
|
||||||
];
|
|
||||||
shell = pkgs.bash;
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.flake = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [
|
|
||||||
"audio"
|
|
||||||
"video"
|
|
||||||
"network"
|
|
||||||
];
|
|
||||||
shell = pkgs.bash;
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.ella = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [
|
|
||||||
"audio"
|
|
||||||
"video"
|
|
||||||
"network"
|
|
||||||
];
|
|
||||||
shell = pkgs.bash;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue