add bluetooth to raspbery and misc other things
This commit is contained in:
parent
8f20c3012a
commit
2022609ca9
18
flake.lock
18
flake.lock
|
@ -41,11 +41,11 @@
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1642445622,
|
"lastModified": 1642882610,
|
||||||
"narHash": "sha256-EpiRAcFWs5HdyPr+1i5wtc7tsDUm/BoIIyP9wjAck2o=",
|
"narHash": "sha256-pmdgeJ9v6y+T0UfNQ/Z+Hdv5tPshFFra5JLF/byUA/Y=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "a69f3e9b0390f03defb834b15e80c236a537157d",
|
"rev": "c47c350f6518ed39c2a16e4fadf9137b6c559ddc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -72,11 +72,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1642130244,
|
"lastModified": 1643000262,
|
||||||
"narHash": "sha256-/5FhZkZFQCRQIRFosUQW1zmDrsNHVOJIB/+XgRPHiPU=",
|
"narHash": "sha256-8hrbufiCcZgicU8UvHaRkruYuzM8z3lJvQkSh9ezMEg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "bc59ba15b64d0a0ee1d1764f18b4f3480d2c3e5a",
|
"rev": "cc68710784ffe0ee035ee7b726656c44566cac94",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -86,11 +86,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1642104392,
|
"lastModified": 1642903813,
|
||||||
"narHash": "sha256-m71b7MgMh9FDv4MnI5sg9MiBVW6DhE1zq+d/KlLWSC8=",
|
"narHash": "sha256-0lNfGW8sNfyTrixoQhVG00Drl/ECaf5GbfKAQ1ZDoyE=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5aaed40d22f0d9376330b6fa413223435ad6fee5",
|
"rev": "689b76bcf36055afdeb2e9852f5ecdd2bf483f87",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = 1;
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = 1;
|
||||||
_JAVA_AWT_WM_NONREPARENTING = 1;
|
_JAVA_AWT_WM_NONREPARENTING = 1;
|
||||||
GDK_SCALE = 2;
|
GDK_SCALE = 2;
|
||||||
GDK_DPI_SCALE = 0.5;
|
GDK_DPI_SCALE = 2;
|
||||||
XCURSOR_SIZE = 64;
|
XCURSOR_SIZE = 64;
|
||||||
QT_AUTO_SCREEN_SCALE_FACTOR = 1;
|
QT_AUTO_SCREEN_SCALE_FACTOR = 1;
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
name "HTTP Music Out"
|
name "HTTP Music Out"
|
||||||
encoder "opus"
|
encoder "opus"
|
||||||
port "8012"
|
port "8012"
|
||||||
bitrate "128000"
|
bitrate "64000"
|
||||||
format "48000:16:2"
|
format "48000:16:2"
|
||||||
always_on "yes"
|
always_on "yes"
|
||||||
tags "yes"
|
tags "yes"
|
||||||
|
|
|
@ -8,7 +8,6 @@ in {
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
path = [ pkgs.rclone ];
|
path = [ pkgs.rclone ];
|
||||||
script = ''
|
script = ''
|
||||||
set -x
|
|
||||||
export PASSWORD=$(cat ${passwordFile})
|
export PASSWORD=$(cat ${passwordFile})
|
||||||
rclone sync :ftp:/storage/music /music \
|
rclone sync :ftp:/storage/music /music \
|
||||||
--ftp-host=hetzner-vm.servers.owo.monster \
|
--ftp-host=hetzner-vm.servers.owo.monster \
|
||||||
|
|
|
@ -5,10 +5,12 @@
|
||||||
users.root
|
users.root
|
||||||
users.chaoticryptidz
|
users.chaoticryptidz
|
||||||
|
|
||||||
|
profiles.base
|
||||||
profiles.tailscale
|
profiles.tailscale
|
||||||
profiles.sshd
|
profiles.sshd
|
||||||
|
|
||||||
#hosts.raspberry.services.router
|
profiles.connectivity.bluetooth
|
||||||
|
profiles.connectivity.ios
|
||||||
|
|
||||||
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
|
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
|
||||||
];
|
];
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
passwordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
challengeResponseAuthentication = false;
|
kbdInteractiveAuthentication = false;
|
||||||
permitRootLogin = "prohibit-password";
|
permitRootLogin = "prohibit-password";
|
||||||
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
|
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Reference in a new issue