Compare commits

..

2 commits

Author SHA1 Message Date
6f7c872dbd flake.lock: Update
All checks were successful
/ test (push) Successful in 3m37s
Flake lock file updates:

• Updated input 'arion':
    'github:hercules-ci/arion/01777136c6e15251d2a2f2b72a5609cea7d42f29' (2024-06-24)
  → 'github:hercules-ci/arion/555e7ba634cf2564737dfc18ad607134e39f52a6' (2024-06-26)
• Updated input 'disko':
    'github:nix-community/disko/dd4d1663ccf7fbdb32361b9afe9e71206584cd4c' (2024-06-24)
  → 'github:nix-community/disko/544a80a69d6e2da04e4df7ec8210a858de8c7533' (2024-07-01)
• Updated input 'dream2nix':
    'github:nix-community/dream2nix/aa983fd908a0d7e235a8c8a77b803231b9ff2e4a' (2024-06-25)
  → 'github:nix-community/dream2nix/1b5e01219a32324c8f6889fe1f4db933ec7932f6' (2024-06-29)
• Updated input 'dream2nix/nixpkgs':
    'github:NixOS/nixpkgs/cfb89a95f19bea461fc37228dc4d07b22fe617c2' (2024-06-25)
  → 'github:NixOS/nixpkgs/1e3deb3d8a86a870d925760db1a5adecc64d329d' (2024-06-27)
• Updated input 'flakeParts':
    'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8' (2024-06-01)
  → 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03)
• Updated input 'flakeParts/nixpkgs-lib':
    'eb9ceca17d.tar.gz?narHash=sha256-lIbdfCsf8LMFloheeE6N31%2BBMIeixqyQWbSr2vk79EQ%3D' (2024-06-01)
  → '5daf051448.tar.gz?narHash=sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI%3D' (2024-07-01)
• Updated input 'hercules-ci-agent':
    'github:hercules-ci/hercules-ci-agent/42cfc9fe1593e1bcabbcd643a926cd2efc5339e9' (2024-06-12)
  → 'github:hercules-ci/hercules-ci-agent/c37b2ada2dd001bc4be6771bcdea680b0b93fb94' (2024-06-26)
• Updated input 'hercules-ci-agent/nixpkgs':
    'github:NixOS/nixpkgs/c7b821ba2e1e635ba5a76d299af62821cbcb09f3' (2024-06-09)
  → 'github:NixOS/nixpkgs/2893f56de08021cffd9b6b6dfc70fd9ccd51eb60' (2024-06-24)
• Updated input 'homeManager':
    'github:nix-community/home-manager/6b1f90a8ff92e81638ae6eb48cd62349c3e387bb' (2024-06-23)
  → 'github:nix-community/home-manager/36e2f9da91ce8b63a549a47688ae60d47c50de4b' (2024-07-03)
• Updated input 'lix':
    'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=4ac2c496d499a4a0e2d64edf32eb855268e7aa8d' (2024-06-25)
  → 'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=45ac449d3970bc6abc4c04e0b3a3b6768a9cb753' (2024-07-02)
• Updated input 'nix-fast-build':
    'github:Mic92/nix-fast-build/02c50df6881266f5425f06f475d504e90e491767' (2024-06-25)
  → 'github:Mic92/nix-fast-build/030e586195c97424844965d2ce680140f6565c02' (2024-06-27)
• Updated input 'nix-on-droid':
    'github:nix-community/nix-on-droid/2d93311c4f3f300154d2085e4b4b1d550237da92' (2024-03-14)
  → 'github:nix-community/nix-on-droid/45fcd2da39a70a96752e17f85d7a843b3c4f67f4' (2024-06-30)
• Updated input 'nixDarwin':
    'github:LnL7/nix-darwin/50581970f37f06a4719001735828519925ef8310' (2024-06-23)
  → 'github:LnL7/nix-darwin/ec12b88104d6c117871fad55e931addac4626756' (2024-07-01)
• Updated input 'nixd':
    'github:nix-community/nixd/61075576703ed1e1c82134ec780c768b4c3d4e00' (2024-06-25)
  → 'github:nix-community/nixd/60a925008bc353136ba5babce437f42819c1645c' (2024-06-26)
• Updated input 'nixosHardware':
    'github:NixOS/nixos-hardware/caabc425565bbd5c8640630b0bf6974961a49242' (2024-06-25)
  → 'github:NixOS/nixos-hardware/6e253f12b1009053eff5344be5e835f604bb64cd' (2024-07-02)
• Updated input 'nixpkgsStable':
    'github:NixOS/nixpkgs/906320ae02f769d13a646eb3605a9821df0d6ea2' (2024-06-23)
  → 'github:NixOS/nixpkgs/28f8f3531ebdbea069995c20bd946a295699f275' (2024-07-01)
• Updated input 'nixpkgsUnstable':
    'github:NixOS/nixpkgs/2893f56de08021cffd9b6b6dfc70fd9ccd51eb60' (2024-06-24)
  → 'github:NixOS/nixpkgs/00d80d13810dbfea8ab4ed1009b09100cca86ba8' (2024-07-01)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/065a23edceff48f948816b795ea8cc6c0dee7cdf' (2024-06-24)
  → 'github:numtide/treefmt-nix/bdb6355009562d8f9313d9460c0d3860f525bc6c' (2024-07-02)
2024-07-03 13:01:56 +00:00
69d4d7a147
reinstall-magisk-on-lineageos
All checks were successful
/ test (push) Successful in 1m29s
2024-07-03 10:56:47 +02:00
3 changed files with 40 additions and 13 deletions

26
flake.lock generated
View file

@ -589,11 +589,11 @@
"nixpkgs-lib": "nixpkgs-lib_2" "nixpkgs-lib": "nixpkgs-lib_2"
}, },
"locked": { "locked": {
"lastModified": 1719877454, "lastModified": 1719994518,
"narHash": "sha256-g5N1yyOSsPNiOlFfkuI/wcUjmtah+nxdImJqrSATjOU=", "narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "4e3583423212f9303aa1a6337f8dffb415920e4f", "rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -818,11 +818,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1719827439, "lastModified": 1719992360,
"narHash": "sha256-tneHOIv1lEavZ0vQ+rgz67LPNCgOZVByYki3OkSshFU=", "narHash": "sha256-SRq0ZRkqagqpMGVf4z9q9CIWRbPYjO7FTqSJyWh7nes=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "59ce796b2563e19821361abbe2067c3bb4143a7d", "rev": "36e2f9da91ce8b63a549a47688ae60d47c50de4b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -872,11 +872,11 @@
"lix": { "lix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1719904801, "lastModified": 1719959194,
"narHash": "sha256-5qjZt9Zt9xhLp9oURfXGoQavuU0ttEL9K0FO7MUso8s=", "narHash": "sha256-iFIP240ZElHfAhv9xjSeYuHV0+PmL0yac6AaE80/Fdk=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "865a3732faca16a79bf24982011adf100de04463", "rev": "45ac449d3970bc6abc4c04e0b3a3b6768a9cb753",
"revCount": 15907, "revCount": 15912,
"type": "git", "type": "git",
"url": "https://git@git.lix.systems/lix-project/lix" "url": "https://git@git.lix.systems/lix-project/lix"
}, },
@ -1245,11 +1245,11 @@
}, },
"nixpkgsStable": { "nixpkgsStable": {
"locked": { "locked": {
"lastModified": 1719663039, "lastModified": 1719837636,
"narHash": "sha256-tXlrgAQygNIy49LDVFuPXlWD2zTQV9/F8pfoqwwPJyo=", "narHash": "sha256-sTya/Vhqtdi7Kxx/eVldJRGTPKcyGgFG3ZugOqcbmiE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4a1e673523344f6ccc84b37f4413ad74ea19a119", "rev": "28f8f3531ebdbea069995c20bd946a295699f275",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -0,0 +1,26 @@
{pkgs, ...}: let
reinstall-magisk-on-lineage = pkgs.stdenv.mkDerivation {
name = "reinstall-magisk-on-lineage";
version = "git";
src = pkgs.fetchFromGitHub {
owner = "NicolasWebDev";
repo = "reinstall-magisk-on-lineageos";
rev = "1ca911ed555d4badd705c6c71750b78be8962b0b";
hash = "sha256-95LzcWL4efR77i8UlzIT+7wQXp+91K2sUwcjmHvTf+Q=";
};
propagatedBuildInputs = with pkgs; [
android-tools
jq
];
installPhase = ''
mkdir -p $out/bin
cp reinstall-magisk-on-lineageos $out/bin/reinstall-magisk-on-lineageos
'';
patchPhase = ''
substituteInPlace reinstall-magisk-on-lineageos \
--replace-fail "paste_yours_here" "\"\$1\""
'';
};
in {
home.packages = [reinstall-magisk-on-lineage];
}

View file

@ -80,6 +80,7 @@
"teams" "teams"
"obs-studio" "obs-studio"
"calibre" "calibre"
"reinstall-magisk-on-lineage"
]; ];
extraGroups = []; extraGroups = [];
backupPaths = []; backupPaths = [];