summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock81
-rw-r--r--flake.nix19
-rw-r--r--secrets/atlas/nixpkgs-tracker-bot.age7
-rw-r--r--secrets/secrets.nix1
-rw-r--r--systems/atlas/default.nix1
-rw-r--r--systems/atlas/nixpkgs-tracker-bot.nix15
6 files changed, 66 insertions, 58 deletions
diff --git a/flake.lock b/flake.lock
index 5bbe933..31941d1 100644
--- a/flake.lock
+++ b/flake.lock
@@ -89,28 +89,6 @@
"type": "github"
}
},
- "fenix": {
- "inputs": {
- "nixpkgs": [
- "teawiebot",
- "nixpkgs"
- ],
- "rust-analyzer-src": "rust-analyzer-src"
- },
- "locked": {
- "lastModified": 1717136818,
- "narHash": "sha256-BKFOT/eg0mCf99oTKa63yW+d5Y3K6c5Gb+NetxacaHg=",
- "owner": "nix-community",
- "repo": "fenix",
- "rev": "14c3b99d4b7cb91343807eac77f005ed9218f742",
- "type": "github"
- },
- "original": {
- "owner": "nix-community",
- "repo": "fenix",
- "type": "github"
- }
- },
"firefox-addons": {
"inputs": {
"flake-utils": [
@@ -152,21 +130,6 @@
"type": "github"
}
},
- "flake-checks_2": {
- "locked": {
- "lastModified": 1716193450,
- "narHash": "sha256-wIbyIQRoLAfGe2v8W7LM6zEZ9Oy0jKuUX0HMUCLQJsM=",
- "owner": "getchoo",
- "repo": "flake-checks",
- "rev": "842c3f225677aa55e44b94342f19c8f3e6f2be06",
- "type": "github"
- },
- "original": {
- "owner": "getchoo",
- "repo": "flake-checks",
- "type": "github"
- }
- },
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
@@ -207,7 +170,7 @@
},
"getchvim": {
"inputs": {
- "flake-checks": "flake-checks_2",
+ "flake-checks": [],
"nixpkgs": [
"nixpkgs"
]
@@ -411,6 +374,28 @@
"type": "github"
}
},
+ "nixpkgs-tracker-bot": {
+ "inputs": {
+ "fenix": [],
+ "flake-checks": [],
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1718536513,
+ "narHash": "sha256-+pdLDgH/WlG5VHqFOeicqnpsPf9uwp+EMkOB5nDOzZQ=",
+ "owner": "getchoo",
+ "repo": "nixpkgs-tracker-bot",
+ "rev": "d25129d829e0ebd70b4e60e399fe91c0d80aa1ad",
+ "type": "github"
+ },
+ "original": {
+ "owner": "getchoo",
+ "repo": "nixpkgs-tracker-bot",
+ "type": "github"
+ }
+ },
"openwrt-imagebuilder": {
"inputs": {
"nixpkgs": [
@@ -449,28 +434,12 @@
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
+ "nixpkgs-tracker-bot": "nixpkgs-tracker-bot",
"openwrt-imagebuilder": "openwrt-imagebuilder",
"teawiebot": "teawiebot",
"terranix": "terranix"
}
},
- "rust-analyzer-src": {
- "flake": false,
- "locked": {
- "lastModified": 1716828004,
- "narHash": "sha256-mUZtVS2S+leFcMpBgbqkMnZm4II1qBM21pW8UnivVSo=",
- "owner": "rust-lang",
- "repo": "rust-analyzer",
- "rev": "b32f181f477576bb203879f7539608f3327b6178",
- "type": "github"
- },
- "original": {
- "owner": "rust-lang",
- "ref": "nightly",
- "repo": "rust-analyzer",
- "type": "github"
- }
- },
"rust-overlay": {
"inputs": {
"flake-utils": [
@@ -513,7 +482,7 @@
},
"teawiebot": {
"inputs": {
- "fenix": "fenix",
+ "fenix": [],
"nixpkgs": [
"nixpkgs"
]
diff --git a/flake.nix b/flake.nix
index c7a12d6..0e19314 100644
--- a/flake.nix
+++ b/flake.nix
@@ -83,7 +83,10 @@
getchvim = {
url = "github:getchoo/getchvim";
- inputs.nixpkgs.follows = "nixpkgs";
+ inputs = {
+ nixpkgs.follows = "nixpkgs";
+ flake-checks.follows = "";
+ };
};
home-manager = {
@@ -125,6 +128,15 @@
};
};
+ nixpkgs-tracker-bot = {
+ url = "github:getchoo/nixpkgs-tracker-bot";
+ inputs = {
+ nixpkgs.follows = "nixpkgs";
+ fenix.follows = "";
+ flake-checks.follows = "";
+ };
+ };
+
openwrt-imagebuilder = {
url = "github:astro/nix-openwrt-imagebuilder";
inputs.nixpkgs.follows = "nixpkgs";
@@ -132,7 +144,10 @@
teawiebot = {
url = "github:getchoo/teawiebot";
- inputs.nixpkgs.follows = "nixpkgs";
+ inputs = {
+ nixpkgs.follows = "nixpkgs";
+ fenix.follows = "";
+ };
};
terranix = {
diff --git a/secrets/atlas/nixpkgs-tracker-bot.age b/secrets/atlas/nixpkgs-tracker-bot.age
new file mode 100644
index 0000000..781ec04
--- /dev/null
+++ b/secrets/atlas/nixpkgs-tracker-bot.age
@@ -0,0 +1,7 @@
+age-encryption.org/v1
+-> X25519 3kVTX7TRsIyUO0hCzutZw+faWq5PiET9C/Ik5JTBkks
+iRQtXqGKZUsYZ1xExyWxSlggBCPEkSPlYeDK8ZofB7U
+-> X25519 cxwlsAB3gXhubziNqEnXVbJQ8Gw8hBUFEBkqJm2wO14
+fXGIzdg8Nz4dkHWNV3iZMF5fkdTSKgyJwta5kkoGKiU
+--- GczVR0ses3hbbH2LU+9Mhj4fQ10wH3IlZOEpPyRwpfc
+��zyiA��%������s�ZVz����F�N���XV�4�"{�PUS�.y��NT)P?gz$ք咯���`�|��H�@+�c�ڿ�=��j��F�y�"U�LCf=��?,a^�QKEWI���j�<z��l"�܎y�,�d���_�J]W��C��g+P�h��gZ��W3_� ���!#�[�8`� ]������ж��ۨ<,��h�ZF�:��T�㌦a"�:\r54�('�cr*7�}QrZ�S�S��5�a����)��ę;v�0���`��D��B�"��+�l�:8ǂ��� \ No newline at end of file
diff --git a/secrets/secrets.nix b/secrets/secrets.nix
index 0159806..7a28470 100644
--- a/secrets/secrets.nix
+++ b/secrets/secrets.nix
@@ -26,6 +26,7 @@ let
files = [
"userPassword.age"
"miniflux.age"
+ "nixpkgs-tracker-bot.age"
"tailscaleAuthKey.age"
"cloudflaredCreds.age"
"teawieBot.age"
diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix
index c0e8272..4bceca8 100644
--- a/systems/atlas/default.nix
+++ b/systems/atlas/default.nix
@@ -8,6 +8,7 @@
./hardware-configuration.nix
./miniflux.nix
./nginx.nix
+ ./nixpkgs-tracker-bot.nix
./teawiebot.nix
];
diff --git a/systems/atlas/nixpkgs-tracker-bot.nix b/systems/atlas/nixpkgs-tracker-bot.nix
new file mode 100644
index 0000000..d02042d
--- /dev/null
+++ b/systems/atlas/nixpkgs-tracker-bot.nix
@@ -0,0 +1,15 @@
+{
+ config,
+ inputs,
+ secretsDir,
+ ...
+}: {
+ imports = [inputs.nixpkgs-tracker-bot.nixosModules.default];
+
+ age.secrets.nixpkgs-tracker-bot.file = secretsDir + "/nixpkgs-tracker-bot.age";
+
+ services.nixpkgs-tracker-bot = {
+ enable = true;
+ environmentFile = config.age.secrets.nixpkgs-tracker-bot.path;
+ };
+}