waydroid
This commit is contained in:
parent
246b9dec29
commit
5d707b0597
4 changed files with 19 additions and 9 deletions
19
common.nix
19
common.nix
|
|
@ -34,14 +34,17 @@
|
||||||
];
|
];
|
||||||
i18n.defaultLocale = "ru_RU.UTF-8";
|
i18n.defaultLocale = "ru_RU.UTF-8";
|
||||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
networking.networkmanager = {
|
networking = {
|
||||||
enable = true;
|
networkmanager = {
|
||||||
insertNameservers = [
|
enable = true;
|
||||||
"1.0.0.2"
|
insertNameservers = [
|
||||||
"1.1.1.2"
|
"1.0.0.2"
|
||||||
"2606:4700:4700::1002"
|
"1.1.1.2"
|
||||||
"2606:4700:4700::1112"
|
"2606:4700:4700::1002"
|
||||||
];
|
"2606:4700:4700::1112"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
nftables.enable = true;
|
||||||
};
|
};
|
||||||
nix.settings.experimental-features = [
|
nix.settings.experimental-features = [
|
||||||
"flakes"
|
"flakes"
|
||||||
|
|
|
||||||
|
|
@ -109,5 +109,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
spiceUSBRedirection.enable = true;
|
spiceUSBRedirection.enable = true;
|
||||||
|
waydroid.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,11 @@
|
||||||
llama-cpp-vulkan
|
llama-cpp-vulkan
|
||||||
mpv
|
mpv
|
||||||
nvtopPackages.full
|
nvtopPackages.full
|
||||||
|
obs-studio
|
||||||
qbittorrent
|
qbittorrent
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
thunderbird
|
thunderbird
|
||||||
|
wl-clipboard
|
||||||
wl-mirror
|
wl-mirror
|
||||||
];
|
];
|
||||||
pointerCursor = {
|
pointerCursor = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# tepmlate, not for running
|
# installation
|
||||||
gdisk $DISK
|
gdisk $DISK
|
||||||
mkfs.fat -F 32 -n $HOST-esp $ESPPART
|
mkfs.fat -F 32 -n $HOST-esp $ESPPART
|
||||||
cryptsetup luksFormat $ROOTPART
|
cryptsetup luksFormat $ROOTPART
|
||||||
|
|
@ -11,3 +11,7 @@ mkdir -p /mnt/var/lib
|
||||||
nixos-install --no-root-passwd --no-channel-copy --flake "/mnt/etc/nixos#nixos-$HOST"
|
nixos-install --no-root-passwd --no-channel-copy --flake "/mnt/etc/nixos#nixos-$HOST"
|
||||||
sbctl enroll-keys --yolo
|
sbctl enroll-keys --yolo
|
||||||
systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+2+7 $ROOTPART
|
systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+2+7 $ROOTPART
|
||||||
|
|
||||||
|
# waydroid arm
|
||||||
|
nix build github:casualsnek/waydroid_script
|
||||||
|
./result/bin/waydroid_script install libndk
|
||||||
Loading…
Add table
Add a link
Reference in a new issue