mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-08 11:41:14 +00:00
Compare commits
2 Commits
main
...
3392366413
| Author | SHA1 | Date | |
|---|---|---|---|
| 3392366413 | |||
| 85e1ecd46a |
@@ -1,5 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.adb.enable = true;
|
||||
virtualisation.waydroid.enable = true;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,14 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
virtualisation.containers.policy = {
|
||||
default = [ { type = "insecureAcceptAnything"; } ];
|
||||
|
||||
};
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
dockerSocket.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
@@ -13,12 +13,13 @@ in
|
||||
isNormalUser = true;
|
||||
description = "Corwin Perren";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"input"
|
||||
"dialout"
|
||||
"plugdev"
|
||||
"adbusers"
|
||||
"dialout"
|
||||
"input"
|
||||
"networkmanager"
|
||||
"plugdev"
|
||||
"podman"
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
|
||||
@@ -55,6 +56,7 @@ in
|
||||
home.file.".config/hypr/scripts".source = ./dotfiles/.config/hypr/scripts;
|
||||
|
||||
# Application config files
|
||||
home.file.".config/containers/policy.json".source = ./dotfiles/.config/containers/policy.json;
|
||||
home.file.".config/glances/glances.conf".source = ./dotfiles/.config/glances/glances.conf;
|
||||
home.file.".config/hypr/hypridle.conf".source = ./dotfiles/hypridle/hypridle.conf;
|
||||
home.file.".config/hypr/hyprpaper.conf".source = ./dotfiles/hyprpaper/hyprpaper.conf;
|
||||
@@ -90,7 +92,7 @@ in
|
||||
# Custom bash aliases
|
||||
home.shellAliases = {
|
||||
# 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
|
||||
savestreamdeck = "cp ~/.streamdeck_ui.json ~/.nixos-configs/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json";
|
||||
|
||||
7
users/caperren/dotfiles/.config/containers/policy.json
Normal file
7
users/caperren/dotfiles/.config/containers/policy.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"default": [
|
||||
{
|
||||
"type": "insecureAcceptAnything"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
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
|
||||
Terminal=false
|
||||
Categories=Utilities;
|
||||
Reference in New Issue
Block a user