| Commit message (Collapse) | Author | Files | Lines |
|
This reverts commit f4f83c7e83272234571d9580f5a897676de3d0dc.
I'm planning to switch back to gitea to host my projects.
|
|
|
|
It's usually needed for developing some rust projects, but this should
be setup by the flake of that project.
|
|
|
|
Update the workflow to use `nix develop` commands instead of multiple
steps (see https://determinate.systems/posts/nix-github-actions).
Add a configuration for `cargo deny` to manage the dependencies I take
on.
|
|
|
|
|
|
|
|
|
|
|
|
I'm not using gerrit anymore.
|
|
For the python tools, we need the python runtime to be available. For
this we need to specify the dependencies in `propagatedBuildInputs`.
The same is true for flamegraph and perf.
|
|
Since I'm moving everything back to GitHub I don't need to run these
services anymore.
|
|
Flake lock file updates:
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/f8d2c22b0714629bb7f8e90071b12fa56cd620be' (2022-10-17)
→ 'github:nix-community/emacs-overlay/feea89fbc310afc87dff52ae0a1bc4afabfcbd43' (2022-10-29)
• Updated input 'emacs-overlay/nixpkgs':
'github:NixOS/nixpkgs/d0f9857448e77df50d1e0b518ba0e835b797532a' (2022-10-17)
→ 'github:NixOS/nixpkgs/f44ba1be526c8da9e79a5759feca2365204003f6' (2022-10-28)
• Updated input 'gh-ssh-keys':
'git+ssh://git@github.com/fcuny/gh-ssh-keys?ref=main&rev=b1b7df6d529835d97734c3cb214d2be5ea593900' (2022-10-16)
→ 'git+ssh://git@github.com/fcuny/gh-ssh-keys?ref=main&rev=a7f3234679c81a46324a1979c1bc5e7752473c2e' (2022-10-22)
• Updated input 'naersk/nixpkgs':
'github:NixOS/nixpkgs/d0f9857448e77df50d1e0b518ba0e835b797532a' (2022-10-17)
→ 'github:NixOS/nixpkgs/f44ba1be526c8da9e79a5759feca2365204003f6' (2022-10-28)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/1935dd8fdab8e022a9d958419663162fd840014c' (2022-10-17)
→ 'github:nixos/nixpkgs/b62e0c1523295ac3316a9bc514f013173e5ad7ba' (2022-10-29)
• Updated input 'nur':
'github:nix-community/NUR/5b866cfe1ffcb2dc004c862d7da2ff5c6dc66e51' (2022-10-17)
→ 'github:nix-community/NUR/248c0ebe4a3c450fa1aa90b3c4a7a847a61fe574' (2022-10-29)
• Updated input 'pre-commit-hooks':
'github:cachix/pre-commit-hooks.nix/94b0f300dd9a23d4e851aa2a947a1511d3410e2d' (2022-10-12)
→ 'github:cachix/pre-commit-hooks.nix/1b436f36e2812c589e6d830e3223059ea9661100' (2022-10-24)
• Updated input 'rust':
'github:oxalica/rust-overlay/ae87512a3e8ee5bfffd42dadce041e7bdcd05a38' (2022-10-17)
→ 'github:oxalica/rust-overlay/34d76c0a001d81a0fac342698ce7926da37b8ea5' (2022-10-29)
• Updated input 'x509-tools':
'github:fcuny/x509-info/406eaab3073651acff3c09deeb22e864fc9d5b23' (2022-10-22)
→ 'github:fcuny/x509-info/80e1db79a95a245542d4a9ddc6eac13d717c4ac8' (2022-10-25)
|
|
|
|
The content has been merged with fcuny.net - I can keep everything in
one site.
|
|
I don't want to inline shell scripts inside nix configuration, as it
prevents me to use `shellcheck` to validate them for example.
The script is now moved into the tool directory, and is a tiny bit more
flexible, so that I can run it as my own user.
|
|
All the repositories should be on GitHub now, and archived if they are
not relevant anymore.
|
|
|
|
We first need to create a repository before we can create the default
branch. For the default branch to be set, we also need the repository to
contain a commit, which is achieved with the `auto_init' attribute.
We can always push with `--force' to overwrite that initial commit when
doing the migration.
|
|
|
|
It's been moved to its own repository at
https://github.com/fcuny/mpd-stats
Update the list of repositories managed by terraform.
|
|
|
|
While not great, this is the default workflow on GitHub. It's also what
allows my `git-broom` CLI to work with branches on GitHub.
|
|
This tool helps to keep only the branches that are relevant: the ones
that have not been merged yet into the main branch on the principal
remote repository.
|
|
|
|
I was not using it.
|
|
|
|
|
|
|
|
To use it, run:
```
nix flake init -t github:fcuny/world#rust
```
|
|
|
|
|
|
Flake lock file updates:
• Updated input 'agenix':
'github:ryantm/agenix/6acb1fe5f8597d5ce63fc82bc7fcac7774b1cdf0' (2022-09-25)
→ 'github:ryantm/agenix/a630400067c6d03c9b3e0455347dc8559db14288' (2022-10-15)
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/8e54a8980aa438c4f35807ad676acbf7578acce3' (2022-09-20)
→ 'github:nix-community/emacs-overlay/f8d2c22b0714629bb7f8e90071b12fa56cd620be' (2022-10-17)
• Updated input 'emacs-overlay/nixpkgs':
'github:NixOS/nixpkgs/8e0f159ff2d17faabbce0d60b14f50710e882eab' (2022-10-02)
→ 'github:NixOS/nixpkgs/d0f9857448e77df50d1e0b518ba0e835b797532a' (2022-10-17)
• Updated input 'gh-ssh-keys':
'git+ssh://git@github.com/fcuny/gh-ssh-keys?ref=main&rev=de753cd61c1b75879010c4d2452598ada629e489' (2022-10-03)
→ 'git+ssh://git@github.com/fcuny/gh-ssh-keys?ref=main&rev=b1b7df6d529835d97734c3cb214d2be5ea593900' (2022-10-16)
• Updated input 'home-manager':
'github:nix-community/home-manager/4a3d01fb53f52ac83194081272795aa4612c2381' (2022-06-25)
→ 'github:nix-community/home-manager/b81e128fc053ab3159d7b464d9b7dedc9d6a6891' (2022-10-17)
• Updated input 'naersk/nixpkgs':
'github:NixOS/nixpkgs/8e0f159ff2d17faabbce0d60b14f50710e882eab' (2022-10-02)
→ 'github:NixOS/nixpkgs/d0f9857448e77df50d1e0b518ba0e835b797532a' (2022-10-17)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/2a57890da5727cafa0607a27a5e2f4201645dfba' (2022-10-02)
→ 'github:nixos/nixpkgs/1935dd8fdab8e022a9d958419663162fd840014c' (2022-10-17)
• Updated input 'nixpkgs-unstable':
'github:nixos/nixpkgs/8e0f159ff2d17faabbce0d60b14f50710e882eab' (2022-10-02)
→ 'github:nixos/nixpkgs/d0f9857448e77df50d1e0b518ba0e835b797532a' (2022-10-17)
• Updated input 'nur':
'github:nix-community/NUR/392b26288ad1cdebd03eac17adb70491f9f392d3' (2022-10-02)
→ 'github:nix-community/NUR/5b866cfe1ffcb2dc004c862d7da2ff5c6dc66e51' (2022-10-17)
• Updated input 'pre-commit-hooks':
'github:cachix/pre-commit-hooks.nix/2e4a708918e14fdbd534cc94aaa9470cd19b2464' (2022-10-02)
→ 'github:cachix/pre-commit-hooks.nix/94b0f300dd9a23d4e851aa2a947a1511d3410e2d' (2022-10-12)
• Updated input 'rust':
'github:oxalica/rust-overlay/5db6b63124ccedd61e896ec98def85fb4e6668f4' (2022-10-02)
→ 'github:oxalica/rust-overlay/ae87512a3e8ee5bfffd42dadce041e7bdcd05a38' (2022-10-17)
• Updated input 'rust/flake-utils':
'github:numtide/flake-utils/7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249' (2022-07-04)
→ 'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07)
|
|
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18)
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
The tool can calculate some stats about authors in a git repository. It
computes the number of lines that are authored by authors at a given
revision (HEAD by default), and the number of commits.
|
|
|
|
This is a simple script, there's no benefit in having this in go. Having
it Python makes it easier to extend with panda or other libraries in the
future if I need more statistics too.
|
|
This is going to fail anyway since it will try to update a flake from a
private repository and it won't work. But once I make the repository
public it will start working.
Also remove the token, want the PR to be open as the github-actions
bot.
|
|
From now on we should always be using 'main'. If a project requires
'master', it will need to be set explicitly.
|
|
Move all the repositories in a YAML file, instead of declaring each
repository. This will simplify the management as I'll be introducing
more resources to manage my repositories.
|
|
|
|
It's back at https://github.com/fcuny/govanity
|
|
|
|
|
|
The code is in https://github.com/fcuny/containerd-to-vm
|
|
The notes are at https://github.com/fcuny/notes.fcuny.net
|
|
The blog moved back to https://github.com/fcuny/fcuny.net
|
|
|
|
|
|
No need to do this with Go, a python script is fine.
We also don't need to set shell aliases for this: when we install the
tool, we can create symbolic links to `ip2int` and `int2ip`.
|
|
Don't do all of these actions together, instead provide helpers for both
init, plan, and apply.
|
|
See https://github.com/fcuny/gh-ssh-keys
|
|
Add a new input to the flake configuration to install `gh-ssh-keys`.
|
|
|
|
|
|
|
|
Import current GitHub repositories into terraform. This should be the
main way (going forward) to interact with GitHub to create / manage the
repositories and ensuring I'm consistent in the ways I want to use it.
|
|
|
|
naersk makes it simple to build rust project in nix.
For this to work, `mkSystem` and `mkHomeManagerConfiguration` needs to
pass naersk to my overlays.
I dropped the support to run the tools with `nix run .#tools...`: I
don't use this in practice and it's not making things simpler.
I dropped `nix-linter` from the check, it's reporting many errors
without helping me to fix them.
|
|
|
|
|
|
|
|
The configuration for home-manager is set using `home-manager' directly,
instead of applying updates all at once (OS and home-manager).
|
|
I don't know why I need to do this, but otherwise I can't build rust
packages with `cargo build' if it's not set ...
|
|
I don't think I should have to do this, it's also not solving the
problem I have, but it should not hurt either ...
|
|
|
|
The configuration for the modules has changed as of 22.05 (see [1]).
This change is to remove the `modules` section from the settings.
[1] https://github.com/nix-community/home-manager/commit/7c320a53254609d9814280a34e312b7f00fd160b
|
|
|
|
When rebuilding the host (through `nixos-rebuild switch --flake`) I
don't want to rebuild also my home-manager configuration. I want these
to be two different steps.
I rebuild the home-manager configuration more frequently and it's a
waste of time and CPU to rebuild the world every time.
This is a pretty large refactoring:
- move checks back into the flake: if I modify a check, the
configuration for `pre-commits` is not regenerated, as the file with the
checks is not monitored with `direnv` (I could probably configure it for
it, but not now)
- remove `home.nix` from the host level configuration
- introduce a `mkHomeManagerConfiguration` function to manage the
different user@host
- fix a warning with the rust overlay
|
|
This improve the readability of the flake configuration, the check can
be in their own module.
|
|
I'll go and refactor correctly and properly the support for rust
packages, this is not working and I'm doing something stupid.
|
|
There has to be a nicer way, and I might just completely drop golang
support anyway in this repo.
|
|
Having requests installed by default is useful to write quickly a
script, and the black formatter is to enforce consistency.
|
|
GitHub supports signing commits with a ssh key now (git has supported
this feature for a while but it was not yet available on GitHub).
More details at [1].
I used the steps documented in [2] for nix.
[1] https://github.blog/changelog/2022-08-23-ssh-commit-verification-now-supported/
[2] https://jeppesen.io/git-commit-sign-nix-home-manager-ssh/
|
|
I can now run `nix build .#tools.sendsms` to build the tool, or get it
deployed on a machine.
Change-Id: I82c733be466adb229d98414fd1229e05f355dd7d
|
|
The flake naersk is used to build rust crates with nix.
Change-Id: Ia1c95de34fe802ae6a6b623dc169ca502fa72f12
|
|
This is a new tool to send SMS via Twilio's API. For now it supports a
single subcommand: reboot. Using that subcommand, a SMS will be send
with the name of the host and the IP address for the defined network
interface. This is useful to be notified when one of my machine reboot,
and what's the IP for the main interface (this is useful since my ISP
does not provide a static IP).
Change-Id: I5886a2c77ebd344ab3befa51a6bdd3d65bcc85d4
|
|
Change-Id: I0235d851df781430abe87d503c652bd97b6e1f1a
|
|
Configure the latest beta for rust and pull some tools with it.
Change-Id: Icd7e3a7efd2a5485ab7380a9d077613c03617905
|
|
Change-Id: Iaa041a70b386d25c581a3a3c2afe860b86740618
|
|
Change-Id: If0b49ce46875f9f5bd35b792596796bcdb85b3e9
|
|
Change-Id: I436d66239d25e69e90c43c036afde5dd3bf18915
|
|
Installing the rust overlay to get the various tools installed. This is
done by a new module for home-manager, and is installed only on my
laptop at the moment.
Change-Id: I80c1633ca04da82f4321a0687a05d1df7c523702
|
|
Change-Id: I9aa813d57c80f431468d97dfc945d9a0439723f1
Reviewed-on: https://cl.fcuny.net/c/world/+/719
Tested-by: CI
Reviewed-by: Franck Cuny <franck@fcuny.net>
|
|
There's no need to make a backup for sourcegraph, all the things I might
care about (at this stage at least) can be easily regenerated.
Change-Id: I4b592c9007ce57b56b04a94b43ad2ab8759ce891
Reviewed-on: https://cl.fcuny.net/c/world/+/718
Tested-by: CI
Reviewed-by: Franck Cuny <franck@fcuny.net>
|
|
Add a mechanism to run checks for go (fmt/mod tidy) and one for
terraform.
Fix the configuration for shellcheck (it was not checking the files).
Change-Id: I1d250b96bd22838eddf624fda6b4d78d5da3e39f
Reviewed-on: https://cl.fcuny.net/c/world/+/715
Tested-by: CI
Revie |