mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-09 04:01:15 +00:00
Compare commits
1 Commits
3392366413
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b1376e1cea |
@@ -1,4 +1,5 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs.adb.enable = true;
|
programs.adb.enable = true;
|
||||||
|
virtualisation.waydroid.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,8 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
virtualisation.containers.policy = {
|
|
||||||
default = [ { type = "insecureAcceptAnything"; } ];
|
|
||||||
|
|
||||||
};
|
|
||||||
virtualisation.podman = {
|
virtualisation.podman = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dockerCompat = true;
|
dockerCompat = true;
|
||||||
dockerSocket.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|||||||
@@ -13,13 +13,12 @@ in
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Corwin Perren";
|
description = "Corwin Perren";
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"adbusers"
|
|
||||||
"dialout"
|
|
||||||
"input"
|
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"plugdev"
|
|
||||||
"podman"
|
|
||||||
"wheel"
|
"wheel"
|
||||||
|
"input"
|
||||||
|
"dialout"
|
||||||
|
"plugdev"
|
||||||
|
"adbusers"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -56,7 +55,6 @@ in
|
|||||||
home.file.".config/hypr/scripts".source = ./dotfiles/.config/hypr/scripts;
|
home.file.".config/hypr/scripts".source = ./dotfiles/.config/hypr/scripts;
|
||||||
|
|
||||||
# Application config files
|
# 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/glances/glances.conf".source = ./dotfiles/.config/glances/glances.conf;
|
||||||
home.file.".config/hypr/hypridle.conf".source = ./dotfiles/hypridle/hypridle.conf;
|
home.file.".config/hypr/hypridle.conf".source = ./dotfiles/hypridle/hypridle.conf;
|
||||||
home.file.".config/hypr/hyprpaper.conf".source = ./dotfiles/hyprpaper/hyprpaper.conf;
|
home.file.".config/hypr/hyprpaper.conf".source = ./dotfiles/hyprpaper/hyprpaper.conf;
|
||||||
@@ -92,7 +90,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 --power-off-on-close";
|
phonerdp = "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake";
|
||||||
|
|
||||||
# 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 +0,0 @@
|
|||||||
{
|
|
||||||
"default": [
|
|
||||||
{
|
|
||||||
"type": "insecureAcceptAnything"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -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 --power-off-on-close"
|
Exec=bash -c "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake"
|
||||||
Icon=phonerdp
|
Icon=phonerdp
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Categories=Utilities;
|
Categories=Utilities;
|
||||||
Reference in New Issue
Block a user