add bluetooth to raspbery and misc other things

This commit is contained in:
ChaotiCryptidz 2022-01-24 16:04:40 +00:00
parent 8f20c3012a
commit 2022609ca9
6 changed files with 15 additions and 14 deletions

View file

@ -41,11 +41,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1642445622,
"narHash": "sha256-EpiRAcFWs5HdyPr+1i5wtc7tsDUm/BoIIyP9wjAck2o=",
"lastModified": 1642882610,
"narHash": "sha256-pmdgeJ9v6y+T0UfNQ/Z+Hdv5tPshFFra5JLF/byUA/Y=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "a69f3e9b0390f03defb834b15e80c236a537157d",
"rev": "c47c350f6518ed39c2a16e4fadf9137b6c559ddc",
"type": "github"
},
"original": {
@ -72,11 +72,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1642130244,
"narHash": "sha256-/5FhZkZFQCRQIRFosUQW1zmDrsNHVOJIB/+XgRPHiPU=",
"lastModified": 1643000262,
"narHash": "sha256-8hrbufiCcZgicU8UvHaRkruYuzM8z3lJvQkSh9ezMEg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "bc59ba15b64d0a0ee1d1764f18b4f3480d2c3e5a",
"rev": "cc68710784ffe0ee035ee7b726656c44566cac94",
"type": "github"
},
"original": {
@ -86,11 +86,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1642104392,
"narHash": "sha256-m71b7MgMh9FDv4MnI5sg9MiBVW6DhE1zq+d/KlLWSC8=",
"lastModified": 1642903813,
"narHash": "sha256-0lNfGW8sNfyTrixoQhVG00Drl/ECaf5GbfKAQ1ZDoyE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5aaed40d22f0d9376330b6fa413223435ad6fee5",
"rev": "689b76bcf36055afdeb2e9852f5ecdd2bf483f87",
"type": "github"
},
"original": {

View file

@ -11,7 +11,7 @@
QT_WAYLAND_DISABLE_WINDOWDECORATION = 1;
_JAVA_AWT_WM_NONREPARENTING = 1;
GDK_SCALE = 2;
GDK_DPI_SCALE = 0.5;
GDK_DPI_SCALE = 2;
XCURSOR_SIZE = 64;
QT_AUTO_SCREEN_SCALE_FACTOR = 1;
};

View file

@ -18,7 +18,7 @@
name "HTTP Music Out"
encoder "opus"
port "8012"
bitrate "128000"
bitrate "64000"
format "48000:16:2"
always_on "yes"
tags "yes"

View file

@ -8,7 +8,6 @@ in {
after = [ "network.target" ];
path = [ pkgs.rclone ];
script = ''
set -x
export PASSWORD=$(cat ${passwordFile})
rclone sync :ftp:/storage/music /music \
--ftp-host=hetzner-vm.servers.owo.monster \

View file

@ -5,10 +5,12 @@
users.root
users.chaoticryptidz
profiles.base
profiles.tailscale
profiles.sshd
#hosts.raspberry.services.router
profiles.connectivity.bluetooth
profiles.connectivity.ios
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
];

View file

@ -2,7 +2,7 @@
services.openssh = {
enable = true;
passwordAuthentication = false;
challengeResponseAuthentication = false;
kbdInteractiveAuthentication = false;
permitRootLogin = "prohibit-password";
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
extraConfig = ''