| 31 Dec 2024 |
| tilpner changed their display name from tilpner (38c3 3209) to tilpner. | 10:54:55 |
atemu12 | Welp | 16:08:08 |
atemu12 | https://lineageos.org/Changelog-29/ | 16:08:09 |
atemu12 | But that's something for next year ^^' | 16:08:31 |
oak 🏳️🌈♥️ | Was just going to post this :) | 16:16:19 |
kranzes | wow, their new music app supports jellyfin? that's sick | 17:37:07 |
kranzes | I know of finamp which is good, but it's cool we have no options now | 17:37:27 |
| 1 Jan 2025 |
| @iooioio:matrix.org left the room. | 10:35:14 |
| mjolnirchanged room power levels. | 14:26:28 |
| 2 Jan 2025 |
countoren | I was able to run an image without signing trying to sign now getting:
$ nix build --impure
warning: Git tree '/home/orozen/nixpkgs' is dirty
error: builder for '/nix/store/1nqvy0hbxc1s29z5p7l8m7l6kfb7q9j8-instantnoodlep-signed_target_files-2024112323.zip.drv' failed with exit code 1;
last 1 log lines:
> Missing KEYSDIR directory, did you use "--option extra-sandbox-paths /keys=..." ?
For full logs, run 'nix log /nix/store/1nqvy0hbxc1s29z5p7l8m7l6kfb7q9j8-instantnoodlep-signed_target_files-2024112323.zip.drv'.
error: 1 dependencies of derivation '/nix/store/p49s6lqkmwnvs2b7q806byw8indjphnv-instantnoodlep-img-2024112323.zip.drv' failed to build
having this flake:
{
description = "Robotnix configuration for OnePlus 8 Pro";
inputs.robotnix.url = "github:nix-community/robotnix/430b818f5e0a94aba9371bebdcc489f636c5e161";
outputs = { self, robotnix }: {
robotnixConfigurations."oneplus8pro" = robotnix.lib.robotnixSystem ({ config, pkgs, ... }: {
# Required options
device = "instantnoodlep"; # Codename for OnePlus 8 Pro
flavor = "lineageos"; # Change this to 'lineageos' if you want LineageOS, otherwise keep 'grapheneos' if supported
androidVersion = 13;
variant = "user";
buildDateTime = 1732404420;
# Optional configurations
# buildDateTime = 1584398664; # Update if you want to push OTA updates for your custom changes
# If you have keys for signing, enable this
signing.enable = true;
signing.keyStorePath = "/home/orozen/nixpkgs/phone/keys";
# Enable ccache if you want faster subsequent builds
apps.fdroid.enable = true;
microg.enable = true;
# ccache.enable = true;
webview.chromium.enable = false;
webview.prebuilt.enable = false;
apps.chromium.enable = false;
});
# Default package for building the image
defaultPackage.x86_64-linux = self.robotnixConfigurations."oneplus8pro".img;
};
}
I assume you guys seen this before, I noticed this issue : https://github.com/nix-community/robotnix/issues/204 but I didn't figure out the solution yet.
| 14:37:51 |
countoren | * I was able to run an image without signing trying to sign now getting:
$ nix build --impure
warning: Git tree '/home/.../nixpkgs' is dirty
error: builder for '/nix/store/1nqvy0hbxc1s29z5p7l8m7l6kfb7q9j8-instantnoodlep-signed_target_files-2024112323.zip.drv' failed with exit code 1;
last 1 log lines:
> Missing KEYSDIR directory, did you use "--option extra-sandbox-paths /keys=..." ?
For full logs, run 'nix log /nix/store/1nqvy0hbxc1s29z5p7l8m7l6kfb7q9j8-instantnoodlep-signed_target_files-2024112323.zip.drv'.
error: 1 dependencies of derivation '/nix/store/p49s6lqkmwnvs2b7q806byw8indjphnv-instantnoodlep-img-2024112323.zip.drv' failed to build
having this flake:
{
description = "Robotnix configuration for OnePlus 8 Pro";
inputs.robotnix.url = "github:nix-community/robotnix/430b818f5e0a94aba9371bebdcc489f636c5e161";
outputs = { self, robotnix }: {
robotnixConfigurations."oneplus8pro" = robotnix.lib.robotnixSystem ({ config, pkgs, ... }: {
# Required options
device = "instantnoodlep"; # Codename for OnePlus 8 Pro
flavor = "lineageos"; # Change this to 'lineageos' if you want LineageOS, otherwise keep 'grapheneos' if supported
androidVersion = 13;
variant = "user";
buildDateTime = 1732404420;
# Optional configurations
# buildDateTime = 1584398664; # Update if you want to push OTA updates for your custom changes
# If you have keys for signing, enable this
signing.enable = true;
signing.keyStorePath = "/home/.../nixpkgs/phone/keys";
# Enable ccache if you want faster subsequent builds
apps.fdroid.enable = true;
microg.enable = true;
# ccache.enable = true;
webview.chromium.enable = false;
webview.prebuilt.enable = false;
apps.chromium.enable = false;
});
# Default package for building the image
defaultPackage.x86_64-linux = self.robotnixConfigurations."oneplus8pro".img;
};
}
I assume you guys seen this before, I noticed this issue : https://github.com/nix-community/robotnix/issues/204 but I didn't figure out the solution yet.
| 14:40:58 |
atemu12 | I've never done signing but have you passed the signing dir into the sandbox as documented? | 14:51:54 |
atemu12 | Using a release script is preferred though I think | 14:52:07 |
countoren | I tried something like:
$ nix build --impure --option extra-sendbox-paths /keys=./keys
but I am not sure I am doing correctly
| 14:55:31 |
atemu12 | Are you a trusted user? | 14:55:50 |
countoren | I should be | 14:56:04 |
atemu12 | Try to access that directory from within the sandbox via a e.g. a simple runCommand to verify | 14:56:11 |
countoren | maybe I will try to switch out from flake to be able to change default.nix | 14:56:59 |
atemu12 | You should be able to modify it with flakes too; they're shit but not that shit | 14:57:36 |
countoren | well flake is downloading the source (of robotnix) to the nix store | 14:58:31 |
countoren | well I mean to clone the repo. | 14:58:52 |
countoren | in this machine that i switched to I just used the flake without cloning | 14:59:11 |
atemu12 | Ah I see | 15:01:08 |
countoren | * in this machine that i switched to I just use the flake without cloning | 15:01:14 |
atemu12 | Cloning and using the local flake should be easy enough | 15:01:19 |
atemu12 | Ahaahaa wait, this is flakes, I have no idea whether that's simple | 15:01:37 |
atemu12 | Right | 15:01:41 |
countoren | yes true, tho with my experience it still might deffer between flake to nix-build I had some differences before with file path parsing between the 2 | 15:02:37 |
countoren | but it was long ago it might be fine now | 15:02:57 |
atemu12 | You should be able to do the simple sanity check regardless of flakes though | 15:05:08 |