- ensure that there is no
ipv6.disable=1
kernel parameter, otherwise Waydroid has no network connection - follow this guide https://nixos.wiki/wiki/WayDroid:
- for X11 it's important to run both
waydroid session start
andwaydroid show-full-ui
undercage
- for X11 it's important to run both
- folow this guide https://gitlab.com/TestingPlant/roblox-on-waydroid-guide:
- audio volume in Waydroid needs to be raised in Android Settings->Sound
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import ./. {}; | |
let | |
extraSources = []; | |
lib = pkgs.lib; | |
optionsListVisible = | |
lib.filter (opt: opt.visible && !opt.internal) | |
(lib.optionAttrSetToDocList options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/bin/env bash | |
set -o nounset | |
tar --sort=name --mtime=0 --owner=0 --group=0 --numeric-owner -c "$1" | sha256sum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env nix-shell | |
#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/cbe419ed4c8f98bd82d169c321d339ea30904f1f.tar.gz --tarball-ttl 4294967295 | |
#! nix-shell -p "haskellPackages.ghcWithPackages (p: with p; [net-mqtt data-default])" | |
#! nix-shell -i "runhaskell -Wall" | |
-- This program builds itself and publishes given message to MQTT broker. | |
-- Copyright (C) 2024 Alexander Tomokhov | |
-- | |
-- This program is free software: you can redistribute it and/or modify | |
-- it under the terms of the GNU General Public License as published by |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env nix-shell | |
#! nix-shell -i runghc -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [ diagrams-cairo (diagrams.overrideAttrs (def: { buildInputs = def.buildInputs ++ [ diagrams-cairo ]; configureFlags = def.configureFlags ++ [ \"-f cairo\" ]; })) ])" | |
{-# LANGUAGE NoMonomorphismRestriction #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE TypeFamilies #-} | |
-- import Diagrams.Backend.SVG.CmdLine | |
import Diagrams.Backend.Cairo.CmdLine | |
import Diagrams.Prelude |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, config, lib, ... }: | |
let | |
packet-block-storage = | |
pkgs.stdenv.mkDerivation { | |
name = "packet-block-storage"; | |
src = pkgs.fetchFromGitHub { | |
owner = "packethost"; | |
repo = "packet-block-storage"; | |
rev = "4be27cbca7a924b4de7af059d5ac30c2aa5c9e6f"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, buildUBoot, fetchFromGitHub, armTrustedFirmwareRK3328 }: | |
let | |
rkbin = fetchFromGitHub { | |
owner = "ayufan-rock64"; | |
repo = "rkbin"; | |
rev = "f79a708978232a2b6b06c2e4173c5314559e0d3a"; | |
sha256 = "0h7xm4ck3p3380c6bqm5ixrkxwcx6z5vysqdwvfa7gcqx5d6x5zz"; | |
}; | |
in buildUBoot { | |
extraMakeFlags = [ "all" "u-boot.itb" ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2003-2019 Eelco Dolstra, Daiderd Jordan, Alexander Tomokhov and | |
# the Nixpkgs/NixOS contributors. | |
# | |
# This work is licensed under the terms of the MIT license. | |
# For a copy, see <https://opensource.org/licenses/MIT>. | |
# | |
# This expression returns a list of all fixed output derivations used by ‘expr’. | |
# eg. | |
# $ nix-instantiate find-fixed-outputs.nix --eval --strict --json --arg expr '(import <nixpkgs> {}).hello' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with (import <nixpkgs> {}); | |
let | |
buildInputs = [haskell.compiler.ghc822Binary pkgconfig zlib]; | |
in stdenv.mkDerivation { | |
name = "myUsbZlibEnv"; | |
inherit buildInputs; | |
# For unknown reason libz.so cannot be found for linking without this |