mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-08 11:41:14 +00:00
Removed waydroid, enabled docker socket compat and added self to group, default to shutting phone screen off on rdp disconnect
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs.adb.enable = true;
|
programs.adb.enable = true;
|
||||||
virtualisation.waydroid.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
virtualisation.podman = {
|
virtualisation.podman = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dockerCompat = true;
|
dockerCompat = true;
|
||||||
|
dockerSocket.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|||||||
@@ -13,12 +13,13 @@ in
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Corwin Perren";
|
description = "Corwin Perren";
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"networkmanager"
|
|
||||||
"wheel"
|
|
||||||
"input"
|
|
||||||
"dialout"
|
|
||||||
"plugdev"
|
|
||||||
"adbusers"
|
"adbusers"
|
||||||
|
"dialout"
|
||||||
|
"input"
|
||||||
|
"networkmanager"
|
||||||
|
"plugdev"
|
||||||
|
"podman"
|
||||||
|
"wheel"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -90,7 +91,7 @@ in
|
|||||||
# Custom bash aliases
|
# Custom bash aliases
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
# Phone remote desktop over usb (adb), with some default flags I want
|
# Phone remote desktop over usb (adb), with some default flags I want
|
||||||
phonerdp = "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake";
|
phonerdp = "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake --power-off-on-close";
|
||||||
|
|
||||||
# Streamdeck isn't easy to manually edit, so make a save command to copy any updates to the repo
|
# Streamdeck isn't easy to manually edit, so make a save command to copy any updates to the repo
|
||||||
savestreamdeck = "cp ~/.streamdeck_ui.json ~/.nixos-configs/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json";
|
savestreamdeck = "cp ~/.streamdeck_ui.json ~/.nixos-configs/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json";
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=Phone RDP
|
Name=Phone RDP
|
||||||
Exec=bash -c "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake"
|
Exec=bash -c "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake --power-off-on-close"
|
||||||
Icon=phonerdp
|
Icon=phonerdp
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Categories=Utilities;
|
Categories=Utilities;
|
||||||
Reference in New Issue
Block a user