alpha
Login
or
Join now
ewancroft.uk
/
bluesky-avatar-updater
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
feat: add nix flake
author
Ewan Croft
date
1 month ago
(Apr 29, 2026, 10:45 PM +0100)
commit
964fee93
964fee9346c1f81003db5d975a6c5ec5fccb807b
parent
f070e2e2
f070e2e2769214b324ab936321568428ac476983
+32
1 changed file
Expand all
Collapse all
Unified
Split
flake.nix
+32
flake.nix
Reviewed
···
1
1
+
{
2
2
+
description = "bluesky-avatar-updater — hourly avatar/banner updater for Bluesky";
3
3
+
4
4
+
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
5
5
+
6
6
+
outputs = { self, nixpkgs }:
7
7
+
let
8
8
+
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
9
9
+
forAllSystems = nixpkgs.lib.genAttrs systems;
10
10
+
in {
11
11
+
devShells = forAllSystems (system:
12
12
+
let pkgs = nixpkgs.legacyPackages.${system}; in
13
13
+
{
14
14
+
default = pkgs.mkShell {
15
15
+
packages = with pkgs; [
16
16
+
python3
17
17
+
python3Packages.pip
18
18
+
python3Packages.virtualenv
19
19
+
python3Packages.requests
20
20
+
python3Packages.python-dotenv
21
21
+
];
22
22
+
23
23
+
shellHook = ''
24
24
+
echo "bluesky-avatar-updater dev shell ready (Python 3)"
25
25
+
'';
26
26
+
};
27
27
+
}
28
28
+
);
29
29
+
30
30
+
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
31
31
+
};
32
32
+
}