aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-12-02 14:37:14 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2025-12-02 14:37:14 +0200
commit3604b58df289eca8773c9de76fdd6fc6eaacb7d5 (patch)
tree21b30c7b5b34531a8dac4355dd68eaa0902cb4f3 /roles
parent64ce1afb784cc685c0bd761aefcaa01c9e1202dd (diff)
downloadnixos-3604b58df289eca8773c9de76fdd6fc6eaacb7d5.tar.zst
Correct scripts
Diffstat (limited to 'roles')
-rw-r--r--roles/shared.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/roles/shared.nix b/roles/shared.nix
index 84988d1..a542623 100644
--- a/roles/shared.nix
+++ b/roles/shared.nix
@@ -563,7 +563,6 @@
alsa.enable = true;
pulse = {
enable = true;
-
};
audio.enable = true;
wireplumber = {
@@ -754,7 +753,7 @@
environment.etc = {
"greetd/hyprland-wrapper.sh" = {
- text = ''
+ source = pkgs.writeShellScript "hyperland-wrapper" ''
#!/bin/sh
# Session
export XDG_SESSION_TYPE=wayland
@@ -772,8 +771,7 @@
};
"bluetooth-tether.sh" = {
mode = "0755";
- text = ''
- #!/bin/sh
+ source = pkgs.writeShellScript "bluetooth-tether" ''
DEVICE_MAC="3C:01:EF:D9:0D:96" # Phone shares the internet
ADAPTER="hci0" # Replace if your adapter is different (check with `bluetoothctl list`)