update inputs
This commit is contained in:
parent
2bd7d9d802
commit
3b60364f62
106
flake.lock
106
flake.lock
|
@ -69,11 +69,11 @@
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1693611461,
|
"lastModified": 1698882062,
|
||||||
"narHash": "sha256-aPODl8vAgGQ0ZYFIRisxYG5MOGSkIczvu2Cd8Gb9+1Y=",
|
"narHash": "sha256-HkhafUayIqxXyHH1X8d9RDl1M2CkFgZLjKD3MzabiEo=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "7f53fdb7bdc5bb237da7fefef12d099e4fd611ca",
|
"rev": "8c9fa2545007b49a5db5f650ae91f227672c3877",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -107,11 +107,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696446489,
|
"lastModified": 1700419052,
|
||||||
"narHash": "sha256-xSjMKdNR+q/3hdSPyg/LUMsZT/WIoUi8dcm5zT4SMUQ=",
|
"narHash": "sha256-U6a5f9ynbzcp8PMIHULbHPkbwp7YfPKOYmTcLqlalD4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "68f7d8c0fb0bfc67d1916dd7f06288424360d43a",
|
"rev": "993fb02d20760067b8ee19c713d94cee07037759",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -122,11 +122,11 @@
|
||||||
},
|
},
|
||||||
"impermanence": {
|
"impermanence": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1694622745,
|
"lastModified": 1697303681,
|
||||||
"narHash": "sha256-z397+eDhKx9c2qNafL1xv75lC0Q4nOaFlhaU1TINqb8=",
|
"narHash": "sha256-caJ0rXeagaih+xTgRduYtYKL1rZ9ylh06CIrt1w5B4g=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "impermanence",
|
"repo": "impermanence",
|
||||||
"rev": "e9643d08d0d193a2e074a19d4d90c67a874d932e",
|
"rev": "0f317c2e9e56550ce12323eb39302d251618f5b5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -143,11 +143,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1697331506,
|
"lastModified": 1700512623,
|
||||||
"narHash": "sha256-N6RD9EudU+i7SJO3z3S309XQRhp81iqaN9G9sxRtVts=",
|
"narHash": "sha256-UpIxPW8Y5RauHugB9GRXge77vEs77RycZEDhh41V6Lc=",
|
||||||
"owner": "chayleaf",
|
"owner": "chayleaf",
|
||||||
"repo": "maubot.nix",
|
"repo": "maubot.nix",
|
||||||
"rev": "cf32a2873523c80cebdd1ee409c45593040944b8",
|
"rev": "efe241fe720dfc9799348e5b12e7d55facd4bafa",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -181,11 +181,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696468271,
|
"lastModified": 1700468447,
|
||||||
"narHash": "sha256-ZpzAIqs8VmgRDz+rBe28+TErlXkhzrgPKg3YKYraReE=",
|
"narHash": "sha256-CGCewYuVPnlyC6cFHNrYVEx5BwFPZuEUA466odTS8wQ=",
|
||||||
"owner": "fufexan",
|
"owner": "fufexan",
|
||||||
"repo": "nix-gaming",
|
"repo": "nix-gaming",
|
||||||
"rev": "cc55064e30efdf1b1ad3df4d39983314ef440aae",
|
"rev": "cd4ca3d39babd063f36b6a46b31bf9a1be2ee7cc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -196,11 +196,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696614066,
|
"lastModified": 1700392353,
|
||||||
"narHash": "sha256-nAyYhO7TCr1tikacP37O9FnGr2USOsVBD3IgvndUYjM=",
|
"narHash": "sha256-KARn8aVJu5fdW0jdJYoOQ1SPqWlNdz4l7r90NbArWSY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "bb2db418b616fea536b1be7f6ee72fb45c11afe0",
|
"rev": "2b00bc76dc893cd996a3d76a2f059d657a5ef37a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -225,11 +225,11 @@
|
||||||
"utils": "utils"
|
"utils": "utils"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689976554,
|
"lastModified": 1700085753,
|
||||||
"narHash": "sha256-uWJq3sIhkqfzPmfB2RWd5XFVooGFfSuJH9ER/r302xQ=",
|
"narHash": "sha256-qtib7f3eRwfaUF+VziJXiBcZFqpHCAXS4HlrFsnzzl4=",
|
||||||
"owner": "simple-nixos-mailserver",
|
"owner": "simple-nixos-mailserver",
|
||||||
"repo": "nixos-mailserver",
|
"repo": "nixos-mailserver",
|
||||||
"rev": "c63f6e7b053c18325194ff0e274dba44e8d2271e",
|
"rev": "008d78cc21959e33d0d31f375b88353a7d7121ae",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -245,11 +245,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1698227887,
|
"lastModified": 1698842376,
|
||||||
"narHash": "sha256-QDVR3tZ5ugxtyCb9TlZLmqNTdAAH6wMUU8sGnPtduTA=",
|
"narHash": "sha256-bQN00rn8GFwUt1uX8gPuhjdWo3Ev4z+wRcD/ziKUcRQ=",
|
||||||
"owner": "chayleaf",
|
"owner": "chayleaf",
|
||||||
"repo": "nixos-router",
|
"repo": "nixos-router",
|
||||||
"rev": "7d9669390a87da7e67dabcbce34681630e67cf32",
|
"rev": "e91a680d9e643208d818aafd15523ce2e387be2d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -260,15 +260,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1697804921,
|
"lastModified": 1700509298,
|
||||||
"narHash": "sha256-PAoThb0U52HGscrU/Qp1GKwidqM6xnWxgovJCXNpjCc=",
|
"narHash": "sha256-I2BUpeOm77z+QpUPikxzjNw6bfLQ7ytN9TIUULv8y5Q=",
|
||||||
"owner": "chayleaf",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "77ba48251d2b629d347e566c888000a379711ce0",
|
"rev": "929e4c17a6016102ce8c0e8888fee06f8e62973e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "chayleaf",
|
"owner": "NixOS",
|
||||||
|
"ref": "release-23.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -276,11 +277,11 @@
|
||||||
"nixpkgs-lib": {
|
"nixpkgs-lib": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "lib",
|
"dir": "lib",
|
||||||
"lastModified": 1693471703,
|
"lastModified": 1698611440,
|
||||||
"narHash": "sha256-0l03ZBL8P1P6z8MaSDS/MvuU8E75rVxe5eE1N6gxeTo=",
|
"narHash": "sha256-jPjHjrerhYDy3q9+s5EAsuhyhuknNfowY6yt6pjn9pc=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3e52e76b70d5508f3cec70b882a29199f4d1ee85",
|
"rev": "0cbe9f69c234a7700596e943bfae7ef27a31b735",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -291,22 +292,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1696696817,
|
|
||||||
"narHash": "sha256-K8/YirUEkUD1Xd9Qg5R9czYU03M8wDN5W3DYns9F0rc=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "0df1d6c8cac8e8dc08f42bfe062a1025555c9b6a",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "master",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notlua": {
|
"notlua": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -314,11 +299,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1691609126,
|
"lastModified": 1697413333,
|
||||||
"narHash": "sha256-InbGoENdL8LNT/09pl7AW5uv2ZSDburqr5LgvkJDfj0=",
|
"narHash": "sha256-2nmu/+QhR/VhxFFr54l0Ok/yVhLCrrYVuTgeD4LHEhE=",
|
||||||
"owner": "chayleaf",
|
"owner": "chayleaf",
|
||||||
"repo": "notlua",
|
"repo": "notlua",
|
||||||
"rev": "0e972a0d23f2faa511b9a3f6d445204e18cd5020",
|
"rev": "ef7cdb7a883fe87238c9fff13bc14ad1fd06f4ba",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -334,11 +319,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1691616520,
|
"lastModified": 1700483422,
|
||||||
"narHash": "sha256-loZuL2YnMNwgH5GEZfXgXZadvo5P3Sp+YZSf9L3Wpu8=",
|
"narHash": "sha256-ni6niOmObnG9EVGtaeT1I7ULz5+EkEewGTJVeFuWNuc=",
|
||||||
"owner": "chayleaf",
|
"owner": "chayleaf",
|
||||||
"repo": "notnft",
|
"repo": "notnft",
|
||||||
"rev": "118e25deeb741ba7963931212f02c96c50898578",
|
"rev": "b3e6a023a13a81d70a6a30997e2f1aaf36feafb3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -349,11 +334,11 @@
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696624462,
|
"lastModified": 1700512041,
|
||||||
"narHash": "sha256-lGmf7IPqWLfxvEQcPujB8dzu+++NHqGYQkmC05y3ByA=",
|
"narHash": "sha256-fAl29aDdOj4AjORaEh85hS0GkCCfjFFCymuOfF4P+Ek=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "560b6a71f7fe0353dc19bc366a5ace71fbda51d1",
|
"rev": "4486267d862ccc8fbbac6c112ccf1f0595cfbd74",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -374,7 +359,6 @@
|
||||||
"nixos-mailserver": "nixos-mailserver",
|
"nixos-mailserver": "nixos-mailserver",
|
||||||
"nixos-router": "nixos-router",
|
"nixos-router": "nixos-router",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs2": "nixpkgs2",
|
|
||||||
"notlua": "notlua",
|
"notlua": "notlua",
|
||||||
"notnft": "notnft",
|
"notnft": "notnft",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
|
@ -389,11 +373,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696558324,
|
"lastModified": 1700446608,
|
||||||
"narHash": "sha256-TnnP4LGwDB8ZGE7h2n4nA9Faee8xPkMdNcyrzJ57cbw=",
|
"narHash": "sha256-q/87GqBvQoUNBYiI3hwhsDqfyfk972RuZK+EwKab5s0=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "fdb37574a04df04aaa8cf7708f94a9309caebe2b",
|
"rev": "e17bfe3baa0487f0671c9ed0e9057d10987ba7f7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
10
flake.nix
10
flake.nix
|
@ -2,10 +2,9 @@
|
||||||
description = "NixOS + Home Manager configuration of chayleaf";
|
description = "NixOS + Home Manager configuration of chayleaf";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
#nixpkgs.url = "github:nixos/nixpkgs/3dc2b4f8166f744c3b3e9ff8224e7c5d74a5424f";
|
#nixpkgs.url = "github:NixOS/nixpkgs/3dc2b4f8166f744c3b3e9ff8224e7c5d74a5424f";
|
||||||
# nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
nixpkgs.url = "github:chayleaf/nixpkgs";
|
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
|
||||||
nixpkgs2.url = "github:nixos/nixpkgs/master";
|
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||||
mobile-nixos = {
|
mobile-nixos = {
|
||||||
# url = "github:NixOS/mobile-nixos";
|
# url = "github:NixOS/mobile-nixos";
|
||||||
|
@ -59,7 +58,6 @@
|
||||||
outputs = inputs@
|
outputs = inputs@
|
||||||
{ self
|
{ self
|
||||||
, nixpkgs
|
, nixpkgs
|
||||||
, nixpkgs2
|
|
||||||
, nixos-hardware
|
, nixos-hardware
|
||||||
, mobile-nixos
|
, mobile-nixos
|
||||||
, impermanence
|
, impermanence
|
||||||
|
@ -157,7 +155,6 @@
|
||||||
./system/devices/radxa-rock5a-server.nix
|
./system/devices/radxa-rock5a-server.nix
|
||||||
(if devMaubot then import /${devPath}/maubot.nix/module else maubot.nixosModules.default)
|
(if devMaubot then import /${devPath}/maubot.nix/module else maubot.nixosModules.default)
|
||||||
./system/modules/scanservjs.nix
|
./system/modules/scanservjs.nix
|
||||||
./system/modules/certspotter.nix
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
server-cross = crossConfig server;
|
server-cross = crossConfig server;
|
||||||
|
@ -172,7 +169,6 @@
|
||||||
notlua = notlua.lib.${system};
|
notlua = notlua.lib.${system};
|
||||||
};
|
};
|
||||||
home.user = [
|
home.user = [
|
||||||
{ _module.args.pkgs2 = import nixpkgs2 { inherit system; overlays = [ overlay ]; }; }
|
|
||||||
nur.nixosModules.nur
|
nur.nixosModules.nur
|
||||||
./home/hosts/nixmsi.nix
|
./home/hosts/nixmsi.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, pkgs2, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [ ./terminal.nix ];
|
imports = [ ./terminal.nix ];
|
||||||
i18n.inputMethod = let fcitx5-qt = pkgs.libsForQt5.fcitx5-qt; in {
|
i18n.inputMethod = let fcitx5-qt = pkgs.libsForQt5.fcitx5-qt; in {
|
||||||
|
@ -180,7 +180,7 @@
|
||||||
# profiles = { };
|
# profiles = { };
|
||||||
package = pkgs.wrapMpv ((pkgs.mpv-unwrapped.override {
|
package = pkgs.wrapMpv ((pkgs.mpv-unwrapped.override {
|
||||||
# webp support
|
# webp support
|
||||||
ffmpeg_5 = pkgs.ffmpeg-custom;
|
ffmpeg = pkgs.ffmpeg-custom;
|
||||||
}).overrideAttrs (old: {
|
}).overrideAttrs (old: {
|
||||||
patches = old.patches or [] ++ [
|
patches = old.patches or [] ++ [
|
||||||
(pkgs.fetchpatch {
|
(pkgs.fetchpatch {
|
||||||
|
@ -251,7 +251,7 @@
|
||||||
keepassxc nheko qbittorrent mumble
|
keepassxc nheko qbittorrent mumble
|
||||||
nextcloud-client gnome.zenity kdeconnect
|
nextcloud-client gnome.zenity kdeconnect
|
||||||
# cli tools
|
# cli tools
|
||||||
imagemagick ffmpeg_5-full xdg-utils
|
imagemagick ffmpeg-full xdg-utils
|
||||||
# fonts
|
# fonts
|
||||||
noto-fonts noto-fonts-cjk-sans noto-fonts-cjk-serif
|
noto-fonts noto-fonts-cjk-sans noto-fonts-cjk-serif
|
||||||
noto-fonts-emoji noto-fonts-extra
|
noto-fonts-emoji noto-fonts-extra
|
||||||
|
@ -261,7 +261,7 @@
|
||||||
|
|
||||||
# for working with nix
|
# for working with nix
|
||||||
nix-init
|
nix-init
|
||||||
pkgs2.nvfetcher
|
nvfetcher
|
||||||
config.nur.repos.rycee.mozilla-addons-to-nix
|
config.nur.repos.rycee.mozilla-addons-to-nix
|
||||||
|
|
||||||
anki-bin
|
anki-bin
|
||||||
|
|
|
@ -22,24 +22,24 @@
|
||||||
"pinned": false,
|
"pinned": false,
|
||||||
"src": {
|
"src": {
|
||||||
"name": null,
|
"name": null,
|
||||||
"sha256": "sha256-DcS5ov656f/l1zWPt+UYKxarDGcAWd6zTvi50Lsa1s8=",
|
"sha256": "sha256-72jxUJdn4j0FV1qFH0r7UEVrAvSwrWgWsxCXyT1N/1A=",
|
||||||
"type": "url",
|
"type": "url",
|
||||||
"url": "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-16/GE-Proton8-16.tar.gz"
|
"url": "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-24/GE-Proton8-24.tar.gz"
|
||||||
},
|
},
|
||||||
"version": "GE-Proton8-16"
|
"version": "GE-Proton8-24"
|
||||||
},
|
},
|
||||||
"searxng": {
|
"searxng": {
|
||||||
"cargoLocks": null,
|
"cargoLocks": null,
|
||||||
"date": "2023-10-06",
|
"date": "2023-11-14",
|
||||||
"extract": null,
|
"extract": null,
|
||||||
"name": "searxng",
|
"name": "searxng",
|
||||||
"passthru": null,
|
"passthru": null,
|
||||||
"pinned": false,
|
"pinned": false,
|
||||||
"src": {
|
"src": {
|
||||||
"sha256": "sha256-/blIZOaeOwQMp6T6GkNh8Fvtzh3Ik5UiPwuGjViENuE=",
|
"sha256": "sha256-vgDQ7cdWN79TFEbJGq0AdvC8p2YOmogk9iVViDkZDXw=",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/searxng/searxng/archive/ce270961e82585971579844c64d7cde5f5d855ec.tar.gz"
|
"url": "https://github.com/searxng/searxng/archive/b3d29cb86db4cc1a4e6320016529d1361451e1f1.tar.gz"
|
||||||
},
|
},
|
||||||
"version": "ce270961e82585971579844c64d7cde5f5d855ec"
|
"version": "b3d29cb86db4cc1a4e6320016529d1361451e1f1"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -12,19 +12,19 @@
|
||||||
};
|
};
|
||||||
proton-ge = {
|
proton-ge = {
|
||||||
pname = "proton-ge";
|
pname = "proton-ge";
|
||||||
version = "GE-Proton8-16";
|
version = "GE-Proton8-24";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-16/GE-Proton8-16.tar.gz";
|
url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-24/GE-Proton8-24.tar.gz";
|
||||||
sha256 = "sha256-DcS5ov656f/l1zWPt+UYKxarDGcAWd6zTvi50Lsa1s8=";
|
sha256 = "sha256-72jxUJdn4j0FV1qFH0r7UEVrAvSwrWgWsxCXyT1N/1A=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
searxng = {
|
searxng = {
|
||||||
pname = "searxng";
|
pname = "searxng";
|
||||||
version = "ce270961e82585971579844c64d7cde5f5d855ec";
|
version = "b3d29cb86db4cc1a4e6320016529d1361451e1f1";
|
||||||
src = fetchTarball {
|
src = fetchTarball {
|
||||||
url = "https://github.com/searxng/searxng/archive/ce270961e82585971579844c64d7cde5f5d855ec.tar.gz";
|
url = "https://github.com/searxng/searxng/archive/b3d29cb86db4cc1a4e6320016529d1361451e1f1.tar.gz";
|
||||||
sha256 = "sha256-/blIZOaeOwQMp6T6GkNh8Fvtzh3Ik5UiPwuGjViENuE=";
|
sha256 = "sha256-vgDQ7cdWN79TFEbJGq0AdvC8p2YOmogk9iVViDkZDXw=";
|
||||||
};
|
};
|
||||||
date = "2023-10-06";
|
date = "2023-11-14";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,71 +0,0 @@
|
||||||
diff --git a/cmd/certspotter/main.go b/cmd/certspotter/main.go
|
|
||||||
index 9730789..f2eb081 100644
|
|
||||||
--- a/cmd/certspotter/main.go
|
|
||||||
+++ b/cmd/certspotter/main.go
|
|
||||||
@@ -163,6 +163,7 @@ func main() {
|
|
||||||
logs string
|
|
||||||
noSave bool
|
|
||||||
script string
|
|
||||||
+ sendmail string
|
|
||||||
startAtEnd bool
|
|
||||||
stateDir string
|
|
||||||
stdout bool
|
|
||||||
@@ -176,6 +177,7 @@ func main() {
|
|
||||||
flag.StringVar(&flags.logs, "logs", defaultLogList, "File path or URL of JSON list of logs to monitor")
|
|
||||||
flag.BoolVar(&flags.noSave, "no_save", false, "Do not save a copy of matching certificates in state directory")
|
|
||||||
flag.StringVar(&flags.script, "script", "", "Program to execute when a matching certificate is discovered")
|
|
||||||
+ flag.StringVar(&flags.sendmail, "sendmail", "/usr/sbin/sendmail", "Path to the sendmail-compatible program to use")
|
|
||||||
flag.BoolVar(&flags.startAtEnd, "start_at_end", false, "Start monitoring logs from the end rather than the beginning (saves considerable bandwidth)")
|
|
||||||
flag.StringVar(&flags.stateDir, "state_dir", defaultStateDir(), "Directory for storing log position and discovered certificates")
|
|
||||||
flag.BoolVar(&flags.stdout, "stdout", false, "Write matching certificates to stdout")
|
|
||||||
@@ -201,6 +203,7 @@ func main() {
|
|
||||||
Verbose: flags.verbose,
|
|
||||||
Script: flags.script,
|
|
||||||
ScriptDir: defaultScriptDir(),
|
|
||||||
+ SendmailPath: flags.sendmail,
|
|
||||||
Email: flags.email,
|
|
||||||
Stdout: flags.stdout,
|
|
||||||
HealthCheckInterval: flags.healthcheck,
|
|
||||||
diff --git a/monitor/config.go b/monitor/config.go
|
|
||||||
index 1e0d60c..d1bc430 100644
|
|
||||||
--- a/monitor/config.go
|
|
||||||
+++ b/monitor/config.go
|
|
||||||
@@ -20,6 +20,7 @@ type Config struct {
|
|
||||||
WatchList WatchList
|
|
||||||
Verbose bool
|
|
||||||
SaveCerts bool
|
|
||||||
+ SendmailPath string
|
|
||||||
Script string
|
|
||||||
ScriptDir string
|
|
||||||
Email []string
|
|
||||||
diff --git a/monitor/notify.go b/monitor/notify.go
|
|
||||||
index 8fc6d09..86cabca 100644
|
|
||||||
--- a/monitor/notify.go
|
|
||||||
+++ b/monitor/notify.go
|
|
||||||
@@ -36,7 +36,7 @@ func notify(ctx context.Context, config *Config, notif notification) error {
|
|
||||||
}
|
|
||||||
|
|
||||||
if len(config.Email) > 0 {
|
|
||||||
- if err := sendEmail(ctx, config.Email, notif); err != nil {
|
|
||||||
+ if err := sendEmail(ctx, config.SendmailPath, config.Email, notif); err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -62,7 +62,7 @@ func writeToStdout(notif notification) {
|
|
||||||
os.Stdout.WriteString(notif.Text() + "\n")
|
|
||||||
}
|
|
||||||
|
|
||||||
-func sendEmail(ctx context.Context, to []string, notif notification) error {
|
|
||||||
+func sendEmail(ctx context.Context, sendmailPath string, to []string, notif notification) error {
|
|
||||||
stdin := new(bytes.Buffer)
|
|
||||||
stderr := new(bytes.Buffer)
|
|
||||||
|
|
||||||
@@ -77,7 +77,7 @@ func sendEmail(ctx context.Context, to []string, notif notification) error {
|
|
||||||
args := []string{"-i", "--"}
|
|
||||||
args = append(args, to...)
|
|
||||||
|
|
||||||
- sendmail := exec.CommandContext(ctx, "/usr/sbin/sendmail", args...)
|
|
||||||
+ sendmail := exec.CommandContext(ctx, sendmailPath, args...)
|
|
||||||
sendmail.Stdin = stdin
|
|
||||||
sendmail.Stderr = stderr
|
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
{ lib
|
|
||||||
, buildGoModule
|
|
||||||
, fetchFromGitHub
|
|
||||||
, lowdown
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildGoModule rec {
|
|
||||||
pname = "certspotter";
|
|
||||||
version = "0.16.0";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "SSLMate";
|
|
||||||
repo = "certspotter";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-0+7GWxbV4j2vVdmool8J9hqRqUi8O/yKedCyynWJDkE=";
|
|
||||||
};
|
|
||||||
|
|
||||||
vendorHash = "sha256-haYmWc2FWZNFwMhmSy3DAtj9oW5G82dX0fxpGqI8Hbw=";
|
|
||||||
|
|
||||||
patches = [ ./configurable-sendmail.patch ];
|
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ lowdown ];
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
cd man
|
|
||||||
make
|
|
||||||
mkdir -p $out/share/man/man8
|
|
||||||
mv *.8 $out/share/man/man8
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Certificate Transparency Log Monitor";
|
|
||||||
homepage = "https://github.com/SSLMate/certspotter";
|
|
||||||
changelog = "https://github.com/SSLMate/certspotter/blob/${src.rev}/CHANGELOG.md";
|
|
||||||
license = licenses.mpl20;
|
|
||||||
mainProgram = "certspotter";
|
|
||||||
maintainers = with maintainers; [ chayleaf ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -61,7 +61,6 @@ in
|
||||||
meta = builtins.removeAttrs old.meta [ "broken" ];
|
meta = builtins.removeAttrs old.meta [ "broken" ];
|
||||||
});
|
});
|
||||||
|
|
||||||
certspotter = callPackage ./certspotter { };
|
|
||||||
clang-tools_latest = pkgs.clang-tools_16;
|
clang-tools_latest = pkgs.clang-tools_16;
|
||||||
clang_latest = pkgs.clang_16;
|
clang_latest = pkgs.clang_16;
|
||||||
/*ghidra = pkgs.ghidra.overrideAttrs (old: {
|
/*ghidra = pkgs.ghidra.overrideAttrs (old: {
|
||||||
|
@ -88,12 +87,11 @@ in
|
||||||
--replace FF_VK_KHR_VIDEO_DECODE_H265 FF_VK_EXT_VIDEO_DECODE_H265 \
|
--replace FF_VK_KHR_VIDEO_DECODE_H265 FF_VK_EXT_VIDEO_DECODE_H265 \
|
||||||
--replace FF_VK_KHR_VIDEO_DECODE_AV1 FF_VK_EXT_VIDEO_DECODE_AV1
|
--replace FF_VK_KHR_VIDEO_DECODE_AV1 FF_VK_EXT_VIDEO_DECODE_AV1
|
||||||
'';
|
'';
|
||||||
buildInputs = old.buildInputs ++ [ pkgs'.libaribcaption ];
|
buildInputs = old.buildInputs ++ [ pkgs.libaribcaption ];
|
||||||
configureFlags = old.configureFlags ++ [ "--enable-libaribcaption" ];
|
configureFlags = old.configureFlags ++ [ "--enable-libaribcaption" ];
|
||||||
});
|
});
|
||||||
gimp = callPackage ./gimp { inherit (pkgs) gimp; };
|
gimp = callPackage ./gimp { inherit (pkgs) gimp; };
|
||||||
home-daemon = callPackage ./home-daemon { };
|
home-daemon = callPackage ./home-daemon { };
|
||||||
libaribcaption = callPackage ./libaribcaption { };
|
|
||||||
# pin version
|
# pin version
|
||||||
looking-glass-client = pkgs.looking-glass-client.overrideAttrs (old: {
|
looking-glass-client = pkgs.looking-glass-client.overrideAttrs (old: {
|
||||||
version = "B6";
|
version = "B6";
|
||||||
|
@ -108,7 +106,6 @@ in
|
||||||
kvmfrOverlay = kvmfr: kvmfr.overrideAttrs (old: {
|
kvmfrOverlay = kvmfr: kvmfr.overrideAttrs (old: {
|
||||||
inherit (pkgs'.looking-glass-client) version src;
|
inherit (pkgs'.looking-glass-client) version src;
|
||||||
});
|
});
|
||||||
pineapplebot = callPackage ./pineapplebot.nix { };
|
|
||||||
proton-ge = pkgs.stdenvNoCC.mkDerivation {
|
proton-ge = pkgs.stdenvNoCC.mkDerivation {
|
||||||
inherit (sources.proton-ge) pname version src;
|
inherit (sources.proton-ge) pname version src;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -121,6 +118,7 @@ in
|
||||||
searxng = pkgs'.python3.pkgs.toPythonModule (pkgs.searxng.overrideAttrs (old: {
|
searxng = pkgs'.python3.pkgs.toPythonModule (pkgs.searxng.overrideAttrs (old: {
|
||||||
inherit (sources.searxng) src;
|
inherit (sources.searxng) src;
|
||||||
version = "unstable-" + sources.searxng.date;
|
version = "unstable-" + sources.searxng.date;
|
||||||
|
postInstall = builtins.replaceStrings [ "/botdetection" ] [ "" ] old.postInstall;
|
||||||
}));
|
}));
|
||||||
techmino = callPackage ./techmino { };
|
techmino = callPackage ./techmino { };
|
||||||
|
|
||||||
|
@ -153,6 +151,5 @@ in
|
||||||
stdenv = pkgs'.ccacheStdenv;
|
stdenv = pkgs'.ccacheStdenv;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
// import ./postgresql-packages { inherit pkgs pkgs' lib sources isOverlay; }
|
|
||||||
// import ./ccache.nix { inherit pkgs pkgs' lib sources; }
|
// import ./ccache.nix { inherit pkgs pkgs' lib sources; }
|
||||||
// import ../system/hardware/bpi-r3/pkgs.nix { inherit pkgs pkgs' lib sources; }
|
// import ../system/hardware/bpi-r3/pkgs.nix { inherit pkgs pkgs' lib sources; }
|
||||||
|
|
|
@ -63,10 +63,10 @@
|
||||||
};
|
};
|
||||||
"youtube-nonstop" = buildFirefoxXpiAddon {
|
"youtube-nonstop" = buildFirefoxXpiAddon {
|
||||||
pname = "youtube-nonstop";
|
pname = "youtube-nonstop";
|
||||||
version = "0.9.1";
|
version = "0.9.2";
|
||||||
addonId = "{0d7cafdd-501c-49ca-8ebb-e3341caaa55e}";
|
addonId = "{0d7cafdd-501c-49ca-8ebb-e3341caaa55e}";
|
||||||
url = "https://addons.mozilla.org/firefox/downloads/file/3848483/youtube_nonstop-0.9.1.xpi";
|
url = "https://addons.mozilla.org/firefox/downloads/file/4187690/youtube_nonstop-0.9.2.xpi";
|
||||||
sha256 = "8340d57622a663949ec1768eb37d47651c809fadf0ffaa5ff546c48fdd28e33d";
|
sha256 = "7659d180f76ea908ea81b84ed9bdd188624eaaa62b88accbe6d8ad4e8caeff38";
|
||||||
meta = with lib;
|
meta = with lib;
|
||||||
{
|
{
|
||||||
homepage = "https://github.com/lawfx/YoutubeNonStop";
|
homepage = "https://github.com/lawfx/YoutubeNonStop";
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
{ lib
|
|
||||||
, stdenv
|
|
||||||
, fetchFromGitHub
|
|
||||||
, cmake
|
|
||||||
|
|
||||||
, fontconfig
|
|
||||||
, freetype
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "libaribcaption";
|
|
||||||
version = "1.1.1";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "xqq";
|
|
||||||
repo = "libaribcaption";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-x6l0ZrTktSsqfDLVRXpQtUOruhfc8RF3yT991UVZiKA=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
|
||||||
|
|
||||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
|
||||||
|
|
||||||
buildInputs = lib.optionals (!stdenv.isDarwin) [ fontconfig freetype ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Portable ARIB STD-B24 Caption Decoder/Renderer";
|
|
||||||
homepage = "https://github.com/xqq/libaribcaption";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ chayleaf ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,34 +0,0 @@
|
||||||
{ python3
|
|
||||||
, fetchFromGitHub
|
|
||||||
, rustPlatform
|
|
||||||
, magic ? "<PIZZABOT_MAGIC_SEP>"
|
|
||||||
, ... }:
|
|
||||||
|
|
||||||
python3.pkgs.buildPythonPackage rec {
|
|
||||||
pname = "pineapplebot";
|
|
||||||
version = "0.1.0";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "chayleaf";
|
|
||||||
repo = "pizzabot_v3";
|
|
||||||
rev = "master";
|
|
||||||
sha256 = "sha256-ZLskMlllZfmqIlbSr0pNHHJehDycohiwqgYbuEYP7Qc=";
|
|
||||||
};
|
|
||||||
preBuild = ''
|
|
||||||
head -n13 Cargo.toml > Cargo.toml.new
|
|
||||||
mv Cargo.toml.new Cargo.toml
|
|
||||||
'';
|
|
||||||
sourceRoot = "source/pineapplebot";
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
||||||
inherit src sourceRoot;
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
sha256 = "14jxgykwg1apy97gy1j8mz7ny2cqg4q9s03a2bk9kx2y6ibm4668";
|
|
||||||
};
|
|
||||||
nativeBuildInputs = with rustPlatform; [
|
|
||||||
cargoSetupHook
|
|
||||||
maturinBuildHook
|
|
||||||
];
|
|
||||||
doCheck = false;
|
|
||||||
doInstallCheck = true;
|
|
||||||
pythonImportsCheck = [ "pineapplebot" ];
|
|
||||||
PIZZABOT_MAGIC = magic;
|
|
||||||
}
|
|
|
@ -1,45 +0,0 @@
|
||||||
{ pkgs
|
|
||||||
, pkgs'
|
|
||||||
, isOverlay
|
|
||||||
, lib
|
|
||||||
, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
inherit (pkgs') callPackage;
|
|
||||||
|
|
||||||
extraPackages = {
|
|
||||||
tsja = callPackage ./tsja.nix { };
|
|
||||||
};
|
|
||||||
gen' = postgresql: builtins.mapAttrs (k: v: v.override { inherit postgresql; }) extraPackages;
|
|
||||||
gen = ver:
|
|
||||||
lib.optionalAttrs isOverlay pkgs."postgresql${toString ver}Packages"
|
|
||||||
// gen' pkgs."postgresql${if ver == "" then "" else "_" + toString ver}";
|
|
||||||
psql = ver: let
|
|
||||||
old = pkgs."postgresql${if ver == "" then "" else "_" + toString ver}";
|
|
||||||
in old // { pkgs = old.pkgs // gen' old; };
|
|
||||||
self = {
|
|
||||||
mecab = pkgs.mecab.overrideAttrs (old: {
|
|
||||||
postInstall = ''
|
|
||||||
mkdir -p $out/lib/mecab/dic
|
|
||||||
ln -s ${callPackage /${pkgs.path}/pkgs/tools/text/mecab/ipadic.nix {
|
|
||||||
mecab-nodic = callPackage /${pkgs.path}/pkgs/tools/text/mecab/nodic.nix { };
|
|
||||||
}} $out/lib/mecab/dic/ipadic
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
postgresqlPackages = gen "";
|
|
||||||
postgresql11Packages = gen 11;
|
|
||||||
postgresql12Packages = gen 12;
|
|
||||||
postgresql13Packages = gen 13;
|
|
||||||
postgresql14Packages = gen 14;
|
|
||||||
postgresql15Packages = gen 15;
|
|
||||||
postgresql16Packages = gen 16;
|
|
||||||
} // lib.optionalAttrs isOverlay {
|
|
||||||
postgresql = psql "";
|
|
||||||
postgresql_11 = psql 11;
|
|
||||||
postgresql_12 = psql 12;
|
|
||||||
postgresql_13 = psql 13;
|
|
||||||
postgresql_14 = psql 14;
|
|
||||||
postgresql_15 = psql 15;
|
|
||||||
postgresql_16 = psql 16;
|
|
||||||
};
|
|
||||||
in self
|
|
|
@ -1,39 +0,0 @@
|
||||||
{ lib
|
|
||||||
, stdenv
|
|
||||||
, postgresql
|
|
||||||
, mecab
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "tsja";
|
|
||||||
version = "0.5.0";
|
|
||||||
|
|
||||||
src = fetchTarball {
|
|
||||||
url = "https://www.amris.jp/tsja/tsja-${version}.tar.xz";
|
|
||||||
sha256 = "0hx4iygnqw1ay3nwrf3x2izflw4ip9i8i0yny26vivdz862m97w7";
|
|
||||||
};
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace Makefile \
|
|
||||||
--replace /usr/local/pgsql ${postgresql} \
|
|
||||||
--replace -L/usr/local/lib "" \
|
|
||||||
--replace -I/usr/local/include ""
|
|
||||||
substituteInPlace tsja.c --replace /usr/local/lib/mecab ${mecab}/lib/mecab
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ postgresql mecab ];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/lib $out/share/postgresql/extension
|
|
||||||
cp libtsja.so $out/lib
|
|
||||||
cp dbinit_libtsja.txt $out/share/postgresql/extension/libtsja_dbinit.sql
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "PostgreSQL extension implementing Japanese text search";
|
|
||||||
homepage = "https://www.amris.jp/tsja/index.html";
|
|
||||||
maintainers = with maintainers; [ chayleaf ];
|
|
||||||
platforms = postgresql.meta.platforms;
|
|
||||||
license = licenses.postgresql;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,54 +0,0 @@
|
||||||
{ lib
|
|
||||||
, stdenv
|
|
||||||
, fetchFromGitHub
|
|
||||||
, cmake
|
|
||||||
# buildInputs
|
|
||||||
, rizin
|
|
||||||
, openssl
|
|
||||||
, pugixml
|
|
||||||
# optional buildInputs
|
|
||||||
, enableCutterPlugin ? true
|
|
||||||
, cutter
|
|
||||||
, qtbase
|
|
||||||
, qtsvg
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "rz-ghidra";
|
|
||||||
version = "0.5.0";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "rizinorg";
|
|
||||||
repo = "rz-ghidra";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-2QQEj4TIBmiZgbb66R7q6iEp2WitUc8Ui6Nr71JelXs=";
|
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
|
||||||
buildInputs = [
|
|
||||||
openssl
|
|
||||||
pugixml
|
|
||||||
rizin
|
|
||||||
] ++ lib.optionals enableCutterPlugin [
|
|
||||||
cutter
|
|
||||||
qtbase
|
|
||||||
qtsvg
|
|
||||||
];
|
|
||||||
|
|
||||||
dontWrapQtApps = true;
|
|
||||||
|
|
||||||
cmakeFlags = [
|
|
||||||
"-DUSE_SYSTEM_PUGIXML=ON"
|
|
||||||
] ++ lib.optionals enableCutterPlugin [
|
|
||||||
"-DBUILD_CUTTER_PLUGIN=ON"
|
|
||||||
"-DCUTTER_INSTALL_PLUGDIR=share/rizin/cutter/plugins/native"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Deep ghidra decompiler and sleigh disassembler integration for rizin";
|
|
||||||
homepage = src.meta.homepage;
|
|
||||||
license = licenses.lgpl3;
|
|
||||||
maintainers = with maintainers; [ chayleaf ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,29 +0,0 @@
|
||||||
{ makeWrapper
|
|
||||||
, symlinkJoin
|
|
||||||
, unwrapped
|
|
||||||
}:
|
|
||||||
|
|
||||||
plugins:
|
|
||||||
|
|
||||||
symlinkJoin {
|
|
||||||
name = "cutter-with-plugins";
|
|
||||||
|
|
||||||
paths = [ unwrapped ] ++ plugins;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
inherit unwrapped;
|
|
||||||
};
|
|
||||||
|
|
||||||
postBuild = ''
|
|
||||||
rm $out/bin/*
|
|
||||||
wrapperArgs=(--set RZ_LIBR_PLUGINS $out/lib/rizin/plugins)
|
|
||||||
if [ -d $out/share/rizin/cutter ]; then
|
|
||||||
wrapperArgs+=(--prefix XDG_DATA_DIRS : $out/share)
|
|
||||||
fi
|
|
||||||
for binary in $(ls ${unwrapped}/bin); do
|
|
||||||
makeWrapper ${unwrapped}/bin/$binary $out/bin/$binary "''${wrapperArgs[@]}"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
}
|
|
|
@ -9,7 +9,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
#boot.kernelPackages = config._module.args.fromSourcePkgs.linuxPackages_bpiR3_ccache or pkgs.linuxPackages_bpiR3_ccache;
|
#boot.kernelPackages = config._module.args.fromSourcePkgs.linuxPackages_bpiR3_ccache or pkgs.linuxPackages_bpiR3_ccache;
|
||||||
boot.kernelPackages = config._module.args.fromSourcePkgs.linuxPackages_bpiR3 or pkgs.linuxPackages_bpiR3;
|
boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.buildLinuxWithCcache (config._module.args.fromSourcePkgs.linux_bpiR3 or pkgs.linux_bpiR3));
|
||||||
|
|
||||||
hardware.deviceTree.enable = true;
|
hardware.deviceTree.enable = true;
|
||||||
hardware.deviceTree.filter = "mt7986a-bananapi-bpi-r3.dtb";
|
hardware.deviceTree.filter = "mt7986a-bananapi-bpi-r3.dtb";
|
||||||
|
|
|
@ -6,19 +6,14 @@
|
||||||
boot.initrd.availableKernelModules = [ "ahci" "usbhid" "usb_storage" ];
|
boot.initrd.availableKernelModules = [ "ahci" "usbhid" "usb_storage" ];
|
||||||
|
|
||||||
# TODO: switch to upstream when PCIe support works
|
# TODO: switch to upstream when PCIe support works
|
||||||
# boot.kernelPackages = pkgs.linuxPackages_testing;
|
boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.buildLinuxWithCcache pkgs.linux_testing);
|
||||||
boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.buildLinux {
|
# not sure whether they are needed anymore, but it won't hurt, right?
|
||||||
version = "6.6.0-rc1";
|
boot.kernelPatches = [
|
||||||
kernelPatches = [ ];
|
{
|
||||||
src = pkgs.fetchFromGitLab {
|
patch = ./linux-6.7.patch;
|
||||||
domain = "gitlab.collabora.com";
|
name = "linux-6.7";
|
||||||
group = "hardware-enablement";
|
}
|
||||||
owner = "rockchip-3588";
|
];
|
||||||
repo = "linux";
|
|
||||||
rev = "f04271158aee35d270748301c5077231a75bc589";
|
|
||||||
hash = "sha256-B85162plbt92p51f/M82y2zOg3/TqrBWqgw80ksJVGc=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
boot.kernelParams = [ "dtb=/${config.hardware.deviceTree.name}" ];
|
boot.kernelParams = [ "dtb=/${config.hardware.deviceTree.name}" ];
|
||||||
hardware.deviceTree.enable = true;
|
hardware.deviceTree.enable = true;
|
||||||
|
|
17513
system/hardware/radxa-rock5a/linux-6.7.patch
Normal file
17513
system/hardware/radxa-rock5a/linux-6.7.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -65,7 +65,6 @@ in {
|
||||||
};
|
};
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBrokenCiphersForSSE = false;
|
|
||||||
package = pkgs.nextcloud27;
|
package = pkgs.nextcloud27;
|
||||||
autoUpdateApps.enable = true;
|
autoUpdateApps.enable = true;
|
||||||
# TODO: use socket auth and remove the next line
|
# TODO: use socket auth and remove the next line
|
||||||
|
|
|
@ -61,9 +61,7 @@ in {
|
||||||
translate
|
translate
|
||||||
rss
|
rss
|
||||||
];
|
];
|
||||||
services.maubot.pythonPackages = [
|
services.maubot.pythonPackages = (with pkgs.python3.pkgs; [
|
||||||
(pkgs.pineapplebot.override { magic = cfg.pizzabotMagic; })
|
|
||||||
] ++ (with pkgs.python3.pkgs; [
|
|
||||||
levenshtein
|
levenshtein
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,10 +57,6 @@
|
||||||
description = "unhashed noreply password for internal access only. \
|
description = "unhashed noreply password for internal access only. \
|
||||||
This should be different from the password that is hashed for better security";
|
This should be different from the password that is hashed for better security";
|
||||||
};
|
};
|
||||||
pizzabotMagic = mkOption {
|
|
||||||
type = types.str;
|
|
||||||
default = "<PIZZABOT_MAGIC_SEP>";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
description = "server settings";
|
description = "server settings";
|
||||||
|
|
|
@ -1,115 +0,0 @@
|
||||||
{ config
|
|
||||||
, lib
|
|
||||||
, pkgs
|
|
||||||
, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
cfg = config.services.certspotter;
|
|
||||||
in {
|
|
||||||
options.services.certspotter = {
|
|
||||||
enable = lib.mkEnableOption "Cert Spotter, a Certificate Transparency log monitor";
|
|
||||||
sendmailPath = lib.mkOption {
|
|
||||||
type = lib.types.path;
|
|
||||||
description = ''
|
|
||||||
Path to the `sendmail` binary. By default, the local sendmail wrapper is used
|
|
||||||
(see `config.services.mail.sendmailSetuidWrapper`).
|
|
||||||
'';
|
|
||||||
example = lib.literalExpression ''"''${pkgs.system-sendmail}/bin/sendmail"'';
|
|
||||||
};
|
|
||||||
watchlist = lib.mkOption {
|
|
||||||
type = with lib.types; listOf str;
|
|
||||||
description = "Domain names to watch. To monitor a domain with all subdomains, prefix its name with `.` (e.g. `.example.org`).";
|
|
||||||
default = [ ];
|
|
||||||
example = [ ".example.org" "another.example.com" ];
|
|
||||||
};
|
|
||||||
emailRecipients = lib.mkOption {
|
|
||||||
type = with lib.types; listOf str;
|
|
||||||
description = "A list of email addresses to send certificate updates to.";
|
|
||||||
default = [ ];
|
|
||||||
};
|
|
||||||
hooks = lib.mkOption {
|
|
||||||
type = with lib.types; listOf path;
|
|
||||||
description = ''
|
|
||||||
Scripts to run upon the detection of a new certificate. See `man 8 certspotter-script` or [the GitHub page](https://github.com/SSLMate/certspotter/blob/master/man/certspotter-script.md) for more info.
|
|
||||||
'';
|
|
||||||
default = [];
|
|
||||||
example = lib.literalExpression ''
|
|
||||||
[
|
|
||||||
(pkgs.writeShellScript "certspotter-hook" '''
|
|
||||||
echo "Event summary: $SUMMARY."
|
|
||||||
''')
|
|
||||||
]
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
extraFlags = lib.mkOption {
|
|
||||||
type = with lib.types; listOf str;
|
|
||||||
description = "Extra command-line arguments to pass to Cert Spotter";
|
|
||||||
example = [ "-start_at_end" ];
|
|
||||||
default = [ ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
assertions = [
|
|
||||||
{
|
|
||||||
assertion = cfg.watchlist != [ ];
|
|
||||||
message = "You must specify at least one domain for Cert Spotter to watch";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
assertion = cfg.hooks != [] || cfg.emailRecipients != [];
|
|
||||||
message = "You must specify at least one hook or email recipient for Cert Spotter";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
assertion = (cfg.emailRecipients != []) -> (cfg.sendmailPath != "/run/current-system/sw/bin/false");
|
|
||||||
message = ''
|
|
||||||
You must configure the sendmail setuid wrapper (services.mail.sendmailSetuidWrapper)
|
|
||||||
or services.certspotter.sendmailPath
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
];
|
|
||||||
services.certspotter.sendmailPath = lib.mkMerge [
|
|
||||||
(lib.mkIf (config.services.mail.sendmailSetuidWrapper != null) (lib.mkOptionDefault "/run/wrappers/bin/sendmail"))
|
|
||||||
(lib.mkIf (config.services.mail.sendmailSetuidWrapper == null) (lib.mkOptionDefault "/run/current-system/sw/bin/false"))
|
|
||||||
];
|
|
||||||
users.users.certspotter = {
|
|
||||||
group = "certspotter";
|
|
||||||
home = "/var/lib/certspotter";
|
|
||||||
createHome = true;
|
|
||||||
isSystemUser = true;
|
|
||||||
# uid = config.ids.uids.certspotter;
|
|
||||||
};
|
|
||||||
users.groups.certspotter = {
|
|
||||||
# gid = config.ids.gids.certspotter;
|
|
||||||
};
|
|
||||||
systemd.services.certspotter = {
|
|
||||||
description = "Cert Spotter - Certificate Transparency Monitor";
|
|
||||||
after = [ "network.target" ];
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
environment.CERTSPOTTER_CONFIG_DIR = pkgs.linkFarm "certspotter-config"
|
|
||||||
(lib.toList {
|
|
||||||
name = "watchlist";
|
|
||||||
path = pkgs.writeText "cerspotter-watchlist" (builtins.concatStringsSep "\n" cfg.watchlist);
|
|
||||||
}
|
|
||||||
++ lib.optional (cfg.emailRecipients != [ ]) {
|
|
||||||
name = "email_recipients";
|
|
||||||
path = pkgs.writeText "cerspotter-email_recipients" (builtins.concatStringsSep "\n" cfg.emailRecipients);
|
|
||||||
}
|
|
||||||
++ lib.optional (cfg.hooks != [ ]) {
|
|
||||||
name = "hooks.d";
|
|
||||||
path = pkgs.linkFarm "certspotter-hooks" (lib.imap1 (i: path: {
|
|
||||||
inherit path;
|
|
||||||
name = "hook${toString i}";
|
|
||||||
}) cfg.hooks);
|
|
||||||
});
|
|
||||||
serviceConfig = {
|
|
||||||
User = "certspotter";
|
|
||||||
Group = "certspotter";
|
|
||||||
StateDirectory = "certspotter";
|
|
||||||
};
|
|
||||||
script = ''
|
|
||||||
export CERTSPOTTER_STATE_DIR="$STATE_DIRECTORY"
|
|
||||||
cd "$CERTSPOTTER_STATE_DIR"
|
|
||||||
${pkgs.certspotter}/bin/certspotter -sendmail ${cfg.sendmailPath} ${lib.escapeShellArgs cfg.extraFlags}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue