update packages
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
home.username = "admin";
|
home.username = "admin";
|
||||||
|
|
||||||
${namespace} = {
|
${namespace} = {
|
||||||
|
sops.enable = true;
|
||||||
shell-aliases = {
|
shell-aliases = {
|
||||||
enable = true;
|
enable = true;
|
||||||
buildHost = ""; # NAS builds locally
|
buildHost = ""; # NAS builds locally
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
git-token = (if config.${namespace}.sops.enable then config.sops.secrets."github-token".path else "error");
|
git-token = config.sops.secrets."github-token".path;
|
||||||
|
|
||||||
update-checker = pkgs.writeScriptBin "update-checker" ''
|
update-checker = pkgs.writeScriptBin "update-checker" ''
|
||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
@@ -271,7 +271,21 @@ let
|
|||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.${namespace}.sops.enable {
|
config = {
|
||||||
|
|
||||||
|
sops = {
|
||||||
|
age.keyFile = "/home/${config.${namespace}.user.name}/.config/sops/age/keys.txt";
|
||||||
|
defaultSopsFile = "/etc/nixos/secrets/secrets.yaml";
|
||||||
|
validateSopsFiles = false;
|
||||||
|
secrets = {
|
||||||
|
"github-token" = { };
|
||||||
|
};
|
||||||
|
templates = {
|
||||||
|
".env".content = ''
|
||||||
|
GITHUB_TOKEN = "${config.sops.placeholder.github-token}"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
home.packages = [ update-checker ];
|
home.packages = [ update-checker ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,14 +15,14 @@ in
|
|||||||
age.keyFile = "/home/${config.${namespace}.user.name}/.config/sops/age/keys.txt";
|
age.keyFile = "/home/${config.${namespace}.user.name}/.config/sops/age/keys.txt";
|
||||||
defaultSopsFile = "/etc/nixos/secrets/secrets.yaml";
|
defaultSopsFile = "/etc/nixos/secrets/secrets.yaml";
|
||||||
validateSopsFiles = false;
|
validateSopsFiles = false;
|
||||||
secrets = {
|
# secrets = {
|
||||||
"github-token" = { };
|
# "github-token" = { };
|
||||||
};
|
# };
|
||||||
templates = {
|
# templates = {
|
||||||
".env".content = ''
|
# ".env".content = ''
|
||||||
GITHUB_TOKEN = "${config.sops.placeholder.github-token}"
|
# GITHUB_TOKEN = "${config.sops.placeholder.github-token}"
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,13 +7,13 @@
|
|||||||
buildHomeAssistantComponent rec {
|
buildHomeAssistantComponent rec {
|
||||||
owner = "greghesp";
|
owner = "greghesp";
|
||||||
domain = "bambu_lab";
|
domain = "bambu_lab";
|
||||||
version = "v2.2.17";
|
version = "v2.2.18";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = owner;
|
owner = owner;
|
||||||
repo = "ha-bambulab";
|
repo = "ha-bambulab";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-0gAOCs/8U82eOK04mmWs6QqQR1os1eejwvF+pr7U/9c=";
|
hash = "sha256-47u2oG8MvEX0B8fu1Hs9sV7EXwPyOVRWNn6Mb4BpHGI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
|||||||
@@ -7,13 +7,13 @@
|
|||||||
buildHomeAssistantComponent rec {
|
buildHomeAssistantComponent rec {
|
||||||
owner = "natekspencer";
|
owner = "natekspencer";
|
||||||
domain = "bedjet";
|
domain = "bedjet";
|
||||||
version = "1.2.1";
|
version = "1.2.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = owner;
|
owner = owner;
|
||||||
repo = "ha-bedjet";
|
repo = "ha-bedjet";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-7rMAepajLRTIVXz025nYRQLx7Ra7+2LhELg9IvqdnHE=";
|
hash = "sha256-nJ2S1Wz/M/8my+5iDEMzfBZd9hKnrSBxUqnPfy6Tr7A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
|||||||
@@ -7,13 +7,13 @@
|
|||||||
buildHomeAssistantComponent rec {
|
buildHomeAssistantComponent rec {
|
||||||
owner = "acon96";
|
owner = "acon96";
|
||||||
domain = "llama_conversation";
|
domain = "llama_conversation";
|
||||||
version = "v0.4.4";
|
version = "v0.4.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = owner;
|
owner = owner;
|
||||||
repo = "home-llm";
|
repo = "home-llm";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-L5AL+f5i+LHIF0Fj+Hb5qlmYQbjDeGkAhBeL+qYXrMA=";
|
hash = "sha256-be4cW3f30G32MGl49YGja9/SlMHdnQ9IguuY14wgKGI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
|||||||
@@ -7,13 +7,13 @@
|
|||||||
buildHomeAssistantComponent rec {
|
buildHomeAssistantComponent rec {
|
||||||
owner = "moralmunky";
|
owner = "moralmunky";
|
||||||
domain = "mail_and_packages";
|
domain = "mail_and_packages";
|
||||||
version = "0.4.3-b20";
|
version = "0.4.3-b21";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = owner;
|
owner = owner;
|
||||||
repo = "Home-Assistant-Mail-And-Packages";
|
repo = "Home-Assistant-Mail-And-Packages";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-ueZcfhspi+aViiZ//AJuExeB1Dk/DUeGXYogrXqiy3Q=";
|
hash = "sha256-0lhDsjqsNU2d5cSjxzLIDU9986dvpQ6bNxgUNzmo6pU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ buildHomeAssistantComponent rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = owner;
|
owner = owner;
|
||||||
repo = "homeassistant-nanokvm";
|
repo = "homeassistant-nanokvm";
|
||||||
rev = "0c753de42c6dbec301843162e10038471a236dae";
|
rev = "0a67e8db4e0422df8b3436b30b7654c02b468d0f";
|
||||||
hash = "sha256-uBmmzg4iV1gVPTKvYGLUNpQGGJvbhj70FOS6JubXHD0=";
|
hash = "sha256-5h1EqwpnsmWexqB3J/X4OcN9bfBYUxGxLF1Hrmoi5LY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
{
|
{
|
||||||
"suffix": "-cachyos",
|
"suffix": "-cachyos",
|
||||||
"linux": {
|
"linux": {
|
||||||
"version": "6.17.9",
|
"version": "6.17.13",
|
||||||
"hash": "sha256-bQiAO5U8UJ30jUTTKB7TklJDIdi7NT6yHAVVeQyPjgY="
|
"hash": "sha256-EWgC3DrRZGFjzG/+m926JKgGm1aRNewFI815kGTy7bk="
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"rev": "4e182cb7b8fca0077c06987b853312f25566e520",
|
"rev": "9d369789361623b8a3b842a71adccb19b24ba16f",
|
||||||
"hash": "sha256-WuY9uRDsfHcFzpf6xQ6WoiLEbCZyvpIDw/mf9B0VG6k="
|
"hash": "sha256-eh914fO4gYD8aCuUrMlPBRsxwwa2+qc9HCuAhrG6G9c="
|
||||||
},
|
},
|
||||||
"patches": {
|
"patches": {
|
||||||
"rev": "5f5c847f252b91bc7127af8a3430b1153c28533d",
|
"rev": "e266fbc7f36273ebbc62a9bffda02e3882eb8f6c",
|
||||||
"hash": "sha256-GJ4hvp2Pyea+BXs845PxZFVlrU6KrzKsE6zfrZFae+I="
|
"hash": "sha256-LezfhAfTdfhvjiHSWe258SMUIs+cP8SHT8BiPou0A4w="
|
||||||
},
|
},
|
||||||
"zfs": {
|
"zfs": {
|
||||||
"rev": "fe5ed524c72e0b2e2cd4c47ee5bc987290e89666",
|
"rev": "fe5ed524c72e0b2e2cd4c47ee5bc987290e89666",
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
{
|
{
|
||||||
"suffix": "-cachyos",
|
"suffix": "-cachyos",
|
||||||
"linux": {
|
"linux": {
|
||||||
"version": "6.12.60",
|
"version": "6.12.63",
|
||||||
"hash": "sha256-pjCWshR0EdaDzsv4diK7L/SIW6wrNkHT1PECUMic3Pg="
|
"hash": "sha256-lQLF/+S4lDg8l6v8z3RDCoRzLwTuR2ucDYdjWynffbM="
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"rev": "4e182cb7b8fca0077c06987b853312f25566e520",
|
"rev": "9d369789361623b8a3b842a71adccb19b24ba16f",
|
||||||
"hash": "sha256-WuY9uRDsfHcFzpf6xQ6WoiLEbCZyvpIDw/mf9B0VG6k="
|
"hash": "sha256-eh914fO4gYD8aCuUrMlPBRsxwwa2+qc9HCuAhrG6G9c="
|
||||||
},
|
},
|
||||||
"patches": {
|
"patches": {
|
||||||
"rev": "5f5c847f252b91bc7127af8a3430b1153c28533d",
|
"rev": "e266fbc7f36273ebbc62a9bffda02e3882eb8f6c",
|
||||||
"hash": "sha256-GJ4hvp2Pyea+BXs845PxZFVlrU6KrzKsE6zfrZFae+I="
|
"hash": "sha256-LezfhAfTdfhvjiHSWe258SMUIs+cP8SHT8BiPou0A4w="
|
||||||
},
|
},
|
||||||
"zfs": {
|
"zfs": {
|
||||||
"rev": "fe5ed524c72e0b2e2cd4c47ee5bc987290e89666",
|
"rev": "fe5ed524c72e0b2e2cd4c47ee5bc987290e89666",
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
{
|
{
|
||||||
"suffix": "-cachyos",
|
"suffix": "-cachyos",
|
||||||
"linux": {
|
"linux": {
|
||||||
"version": "6.18-rc7",
|
"version": "6.19.rc1",
|
||||||
"hash": "sha256-SikW8FoO2bdxr5nOdxCwB7YYuTwVjNdUngK4AhivzDU="
|
"hash": "sha256-itUMYlX2BWUMmqeACu8ZaDMR/S2eBhDSIx1UZl9hh9E="
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"rev": "4e182cb7b8fca0077c06987b853312f25566e520",
|
"rev": "9d369789361623b8a3b842a71adccb19b24ba16f",
|
||||||
"hash": "sha256-WuY9uRDsfHcFzpf6xQ6WoiLEbCZyvpIDw/mf9B0VG6k="
|
"hash": "sha256-eh914fO4gYD8aCuUrMlPBRsxwwa2+qc9HCuAhrG6G9c="
|
||||||
},
|
},
|
||||||
"patches": {
|
"patches": {
|
||||||
"rev": "5f5c847f252b91bc7127af8a3430b1153c28533d",
|
"rev": "e266fbc7f36273ebbc62a9bffda02e3882eb8f6c",
|
||||||
"hash": "sha256-GJ4hvp2Pyea+BXs845PxZFVlrU6KrzKsE6zfrZFae+I="
|
"hash": "sha256-LezfhAfTdfhvjiHSWe258SMUIs+cP8SHT8BiPou0A4w="
|
||||||
},
|
},
|
||||||
"zfs": {
|
"zfs": {
|
||||||
"rev": "7de9800e5ce45d03c797be57a3e959fc914b2adb",
|
"rev": "7de9800e5ce45d03c797be57a3e959fc914b2adb",
|
||||||
|
|||||||
@@ -3,18 +3,18 @@
|
|||||||
"suffix": "-cachyos",
|
"suffix": "-cachyos",
|
||||||
"_linux": "pkgver from config's PKGBUILD",
|
"_linux": "pkgver from config's PKGBUILD",
|
||||||
"linux": {
|
"linux": {
|
||||||
"version": "6.18.0",
|
"version": "6.18.2",
|
||||||
"hash": "sha256-kQakYF2p4x/xdlnZWHgrgV+VkaswjQOw7iGq1sfc7Us="
|
"hash": "sha256-VYxrurdJSSs0+Zgn/oB7ADmnRGk8IdOn4Ds6SO2quWo="
|
||||||
},
|
},
|
||||||
"_config": "latest commit from https://github.com/CachyOS/linux-cachyos/commits/master/linux-cachyos",
|
"_config": "latest commit from https://github.com/CachyOS/linux-cachyos/commits/master/linux-cachyos",
|
||||||
"config": {
|
"config": {
|
||||||
"rev": "4e182cb7b8fca0077c06987b853312f25566e520",
|
"rev": "9d369789361623b8a3b842a71adccb19b24ba16f",
|
||||||
"hash": "sha256-WuY9uRDsfHcFzpf6xQ6WoiLEbCZyvpIDw/mf9B0VG6k="
|
"hash": "sha256-eh914fO4gYD8aCuUrMlPBRsxwwa2+qc9HCuAhrG6G9c="
|
||||||
},
|
},
|
||||||
"_patches": "latest commit from https://github.com/CachyOS/kernel-patches/commits/master/x.y",
|
"_patches": "latest commit from https://github.com/CachyOS/kernel-patches/commits/master/x.y",
|
||||||
"patches": {
|
"patches": {
|
||||||
"rev": "5f5c847f252b91bc7127af8a3430b1153c28533d",
|
"rev": "e266fbc7f36273ebbc62a9bffda02e3882eb8f6c",
|
||||||
"hash": "sha256-GJ4hvp2Pyea+BXs845PxZFVlrU6KrzKsE6zfrZFae+I="
|
"hash": "sha256-LezfhAfTdfhvjiHSWe258SMUIs+cP8SHT8BiPou0A4w="
|
||||||
},
|
},
|
||||||
"_zfs": "search for `git+https://github.com/cachyos/zfs.git` in config's PKGBUILD",
|
"_zfs": "search for `git+https://github.com/cachyos/zfs.git` in config's PKGBUILD",
|
||||||
"zfs": {
|
"zfs": {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
}:
|
}:
|
||||||
fetchNextcloudApp {
|
fetchNextcloudApp {
|
||||||
name = "nextcloud-app-assistant";
|
name = "nextcloud-app-assistant";
|
||||||
sha256 = "sha256-ayt3FYGxBdIhugkofujdRWrVqgZVdZ2Z+Ieg35O/MpA=";
|
sha256 = "sha256-HgEyfENQL37qoUISuW7O3EADBP92hegngw4GfgK3z/8=";
|
||||||
url = "https://github.com/nextcloud/assistant/archive/refs/tags/v2.11.0.tar.gz";
|
url = "https://github.com/nextcloud/assistant/archive/refs/tags/v2.12.0.tar.gz";
|
||||||
license = "agpl3Only";
|
license = "agpl3Only";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
pname = "python-roborock";
|
pname = "python-roborock";
|
||||||
version = "3.12.2";
|
version = "3.19.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = python3Packages.pythonOlder "3.11";
|
disabled = python3Packages.pythonOlder "3.11";
|
||||||
@@ -17,7 +17,7 @@ python3Packages.buildPythonPackage rec {
|
|||||||
owner = "humbertogontijo";
|
owner = "humbertogontijo";
|
||||||
repo = "python-roborock";
|
repo = "python-roborock";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-KpuEveA13e2QUgLF/r2iIpohZ2379qWoPxDS6WcKxpI=";
|
hash = "sha256-nCewSP0ZgQvjZ4Ie4/kTzxxmJ5Zsm5i3EuW4ZiDBPMg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = [ "pycryptodome" ];
|
pythonRelaxDeps = [ "pycryptodome" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user