Skip to content

Commit b2006f1

Browse files
committed
update
1 parent f2c6eb5 commit b2006f1

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

.github/workflows/rpi5_kernel.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# FROM: https://github.com/nvmd/nixos-raspberrypi/pull/99
12
name: Build and Push to cachix
23

34
on:
@@ -37,12 +38,13 @@ jobs:
3738
- raspberrypiWirelessFirmware
3839
- raspberrypi-utils
3940
- raspberrypi-udev-rules
40-
- pisugar-power-manager-rs
41+
# - pisugar-power-manager-rs
4142
- ffmpeg_7-headless
42-
- kodi-gbm
43-
- rpicam-apps
43+
# - kodi-gbm
44+
# - rpicam-apps
4445
- libcamera
4546
- libpisp
47+
- libraspberrypi
4648

4749
runs-on: ubuntu-24.04-arm
4850

hosts/rpi5/configuration.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010
i18n.defaultLocale = "en_DK.UTF-8";
1111
console.keyMap = "dk-latin1";
1212

13+
fileSystems."/boot" =
14+
{ device = "/dev/disk/by-uuid/2178-694E";
15+
fsType = "vfat";
16+
# These options ensure the permissions are correct for a FAT partition
17+
options = [ "fmask=0022" "dmask=0022" ];
18+
};
19+
1320
users.users.root.initialPassword = "root";
1421
networking.hosts."127.0.0.1" = [ "matrix.mlflexer.online" ];
1522
networking = {

hosts/rpi5/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ lib.nixosSystem {
7777
kernelPackages = kernelBundle.linuxPackages_rpi5;
7878
};
7979

80+
boot.loader.grub.configurationLimit = 2;
81+
nix.settings.auto-optimise-store = true;
82+
83+
8084
nixpkgs.overlays = lib.mkAfter [
8185
(self: super: {
8286
# This is used in (modulesPath + "/hardware/all-firmware.nix") when at least

hosts/services/matrix/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ let
8282
script = ''
8383
echo "Key missing, generating key"
8484
echo "lk-jwt-service: $(livekit-server generate-keys | tail -1 | awk '{print $3}')" > "${keyFile}"
85-
chmod 640 "${keyFile}"
86-
chown livekit:lk-jwt-service "${keyFile}"
85+
# chmod 640 "${keyFile}"
86+
# chown livekit:lk-jwt-service "${keyFile}"
8787
'';
8888
serviceConfig.Type = "oneshot";
8989
unitConfig.ConditionPathExists = "!${keyFile}";

0 commit comments

Comments
 (0)