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 ? import <nixpkgs> {}, | |
unstable ? import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {}, | |
buildFHSUserEnv ? opt: (unstable.buildFHSUserEnv opt).env, | |
}: | |
buildFHSUserEnv rec { | |
name = "magisk-env"; | |
targetPkgs = p: (with pkgs; |
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, stdenv, fetchurl, appimageTools, makeWrapper, electron_27, autoPatchelfHook }: | |
stdenv.mkDerivation rec { | |
pname = "siyuan-note"; | |
version = "2.10.12"; | |
src = fetchurl { | |
url = "https://github.com/siyuan-note/siyuan/releases/download/v${version}/siyuan-${version}-linux.AppImage"; | |
hash = "sha256-G5lofIIkmm0DJLGc6MqBuwckCkdPA8FLs0qFH9bEYeU="; | |
}; |
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, stdenv, fetchurl, appimageTools, makeWrapper, electron_25, autoPatchelfHook, coreutils, jq }: | |
stdenv.mkDerivation rec { | |
pname = "siyuan-note"; | |
version = "2.10.12"; | |
src = fetchurl { | |
url = "https://github.com/siyuan-note/siyuan/releases/download/v${version}/siyuan-${version}-linux.AppImage"; | |
hash = "sha256-G5lofIIkmm0DJLGc6MqBuwckCkdPA8FLs0qFH9bEYeU="; | |
}; |
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
{ | |
description = "Description for the project"; | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
sops-nix.url = "github:Mic92/sops-nix"; | |
}; | |
outputs = inputs@{ flake-parts, ... }: |
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
{ stdenvNoCC | |
, callPackage | |
, system | |
, fetchurl | |
, lib | |
, autoPatchelfHook | |
, dpkg | |
, makeDesktopItem | |
, rsync | |
, fd |
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
#Requires -RunAsAdministrator | |
Add-Type -AssemblyName System.Windows.Forms | |
function Read-MessageBoxDialog | |
{ | |
param ([string]$Message, | |
[string]$WindowTitle, | |
[System.Windows.Forms.MessageBoxButtons]$Buttons = [System.Windows.Forms.MessageBoxButtons]::OK, | |
[System.Windows.Forms.MessageBoxIcon]$Icon = [System.Windows.Forms.MessageBoxIcon]::None) | |
Add-Type -AssemblyName System.Windows.Forms |