about summary refs log tree commit diff
path: root/home/bluetooth (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-24feat(ops/github): import more repositoriesFranck Cuny1-0/+184
2022-10-24fix(ops/github): create resources in correct orderFranck Cuny1-0/+2
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.
2022-10-24feat(system/fonts): add cascadiaFranck Cuny1-0/+1
2022-10-24ref(tools/mpd-stats): delete the projectFranck Cuny13-490/+3
It's been moved to its own repository at https://github.com/fcuny/mpd-stats Update the list of repositories managed by terraform.
2022-10-23feat(home/packages): install git-broomFranck Cuny1-0/+1
2022-10-23ref(ops/github): only allow merge commitFranck Cuny1-3/+3
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.
2022-10-23feat(tools/git-broom): CLI to delete local and remote branchesFranck Cuny3-0/+376
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.
2022-10-22ref(tools/git-bootstrap): this is replaced by terraformFranck Cuny4-250/+0
2022-10-22fix(flake): remove unstable URL for nixpkgsFranck Cuny2-18/+0
I was not using it.
2022-10-22feat(home/packages): install the tool x509-infoFranck Cuny4-4/+122
2022-10-22feat(ops/github): new repository: x509-infoFranck Cuny1-0/+4
2022-10-22fix(ops/github): some fixes related to repositories creationFranck Cuny1-3/+3
2022-10-22feat(templates): add a template for rustFranck Cuny10-0/+188
To use it, run: ``` nix flake init -t github:fcuny/world#rust ```
2022-10-17ref(tools/python): make mypy happyFranck Cuny3-21/+28
2022-10-17feat(home/python): add lsp/mypy packagesFranck Cuny1-3/+4
2022-10-17flake.lock: UpdateFranck Cuny1-37/+37
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)
2022-10-17build(deps): bump cachix/install-nix-action from 17 to 18dependabot[bot]1-1/+1
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>
2022-10-16ref(tools/git-blame-stats): rewrite the tool in pythonFranck Cuny6-101/+113
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.
2022-10-15ops(github): archive the repository govanityFranck Cuny1-3/+1
2022-10-15ref(seqstat): rewrite from go to pythonFranck Cuny8-194/+53
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.
2022-10-10ci: update the flake once a weekFranck Cuny1-3/+1
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.
2022-10-09feat(ops/github): set the name of the default branchFranck Cuny1-0/+13
From now on we should always be using 'main'. If a project requires 'master', it will need to be set explicitly.
2022-10-09ref(ops/github): simplify the configurationFranck Cuny4-373/+125
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.
2022-10-08feat(ops/github): add the repository twitter-backupFranck Cuny1-0/+14
2022-10-08ref(tools/govanity): moved back to its own repositoryFranck Cuny13-313/+14
It's back at https://github.com/fcuny/govanity
2022-10-07ci: add GitHub action to update flakes and dependabotFranck Cuny2-0/+28
2022-10-07fix(flake): set the correct path for various pre-commit binariesFranck Cuny1-4/+4
2022-10-05ref(fcuny/exp): delete containerd-to-vmFranck Cuny7-1510/+0
The code is in https://github.com/fcuny/containerd-to-vm
2022-10-05ref(fcuny/notes): delete notesFranck Cuny24-1608/+0
The notes are at https://github.com/fcuny/notes.fcuny.net
2022-10-05ref(fcuny/blog): delete the blogFranck Cuny29-1007/+0
The blog moved back to https://github.com/fcuny/fcuny.net
2022-10-04feat(ops/github): add notes.fcuny.net and containerd-to-vmFranck Cuny2-0/+28
2022-10-04feat(ops/github): add repository for fcuny.netFranck Cuny1-0/+14
2022-10-04ref(tools/ipconverter): rewrite the tool in pythonFranck Cuny6-124/+55
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`.
2022-10-04ops(terraform): individual actions for init/plan/applyFranck Cuny4-5/+43
Don't do all of these actions together, instead provide helpers for both init, plan, and apply.
2022-10-03ref(tools/ssh-key-to-forge): replaced by gh-ssh-keysFranck Cuny4-591/+0
See https://github.com/fcuny/gh-ssh-keys
2022-10-03feat(home/packages): install gh-ssh-keysFranck Cuny4-5/+132
Add a new input to the flake configuration to install `gh-ssh-keys`.
2022-10-02fix(home/rust): switch to the latest stable toolchainFranck Cuny1-1/+1
2022-10-02meta: bump flake dependenciesFranck Cuny1-26/+30
2022-10-02feat(ops/github): new repository: gh-ssh-keysFranck Cuny1-0/+14
2022-09-30ops(github): terraform configuration to manage GitHubFranck Cuny5-0/+354
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.
2022-09-26fix(home/element): I want the wayland versionFranck Cuny1-1/+1
2022-09-26feat(naersk): use naersk to build packages with rustFranck Cuny6-12/+52
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.
2022-09-25fix(flake): call some programs with `nix run .#tools.<name>`Franck Cuny1-12/+10
2022-09-24fix(user/blog): update list of ssh keysFranck Cuny1-2/+2
2022-09-24fix(home/wm): unlock gnome-keyring when loggingFranck Cuny3-17/+19
2022-09-24fix(modules/home): delete the moduleFranck Cuny2-36/+1
The configuration for home-manager is set using `home-manager' directly, instead of applying updates all at once (OS and home-manager).
2022-09-24fix(home/shell): set value for PKG_CONFIG_PATHFranck Cuny1-0/+4
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 ...
2022-09-24fix(system/packages): install openssl-dev packageFranck Cuny1-0/+1
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 ...
2022-09-23fix(hosts): the WM manager needs to be in home.nixFranck Cuny4-6/+8
2022-09-23fix(home/waybar): fix the configuration after 22.05Franck Cuny1-29/+27
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
2022-09-22feat(flake): add nix-linter to the checksFranck Cuny1-0/+1
2022-09-22ref(home-manager): don't use home-manager when building the hostFranck Cuny10-132/+191
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
2022-09-18ref(flake): move all the checks to external moduleFranck Cuny2-33/+34
This improve the readability of the flake configuration, the check can be in their own module.
2022-09-18ref(flake): drop naersk for nowFranck Cuny4-53/+11
I'll go and refactor correctly and properly the support for rust packages, this is not working and I'm doing something stupid.
2022-09-18ref(flake): remove pre-commit for golangFranck Cuny1-34/+1
There has to be a nicer way, and I might just completely drop golang support anyway in this repo.
2022-09-18feat(home/python): add a few more packagesFranck Cuny1-2/+8
Having requests installed by default is useful to write quickly a script, and the black formatter is to enforce consistency.
2022-09-17feat(home/git): sign commits with my ssh keyFranck Cuny1-0/+4
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/
2022-09-07feat(tools/sendsms): build sendsms with nix via naerskFranck Cuny3-4/+23
I can now run `nix build .#tools.sendsms` to build the tool, or get it deployed on a machine. Change-Id: I82c733be466adb229d98414fd1229e05f355dd7d
2022-09-07feat(flake): use naersk to build rust projectsFranck Cuny3-2/+37
The flake naersk is used to build rust crates with nix. Change-Id: Ia1c95de34fe802ae6a6b623dc169ca502fa72f12
2022-09-07feat(tool/sendsms): a CLI to send SMSFranck Cuny6-0/+1382
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
2022-09-07meta: ignore build for rust projectsFranck Cuny1-0/+1
Change-Id: I0235d851df781430abe87d503c652bd97b6e1f1a
2022-09-07fix(home/rust): better setupFranck Cuny1-5/+11
Configure the latest beta for rust and pull some tools with it. Change-Id: Icd7e3a7efd2a5485ab7380a9d077613c03617905
2022-09-07feat(modules/packages): install pkg-configFranck Cuny1-1/+1
Change-Id: Iaa041a70b386d25c581a3a3c2afe860b86740618
2022-09-07fix(home/email): remove inbox tag for archived emailsFranck Cuny1-1/+4
Change-Id: If0b49ce46875f9f5bd35b792596796bcdb85b3e9
2022-09-04feat(home/terraform): install the LSP serverFranck Cuny1-1/+4
Change-Id: I436d66239d25e69e90c43c036afde5dd3bf18915
2022-08-22feat(rust): add an overlay to install rustFranck Cuny6-1/+63
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
2022-08-15ref(modules/backup): only keep 4 weeks worth of backupsFranck Cuny1-1/+1
Change-Id: I9aa813d57c80f431468d97dfc945d9a0439723f1 Reviewed-on: https://cl.fcuny.net/c/world/+/719 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-08-15ref(modules/sourcegraph): stop backing upFranck Cuny1-15/+0
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>
2022-08-15ci(pre-commit): add a few more checksFranck Cuny1-2/+40
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 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-08-15fix(fmt): apply gofmt on some filesFranck Cuny1-2/+1
Change-Id: I9d1ff1b7de5cb89ffcf40bc91e794f7ff420c1e8 Reviewed-on: https://cl.fcuny.net/c/world/+/717 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-08-15fix(shellcheck): apply recommendations from shellcheckFranck Cuny1-3/+3
Change-Id: Id11ad998c30d6e863ab3b43552b9fe248a0d6c7f Reviewed-on: https://cl.fcuny.net/c/world/+/716 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-08-15feat(ops/gcp-backups): add terraform configuration for GCP bucketsFranck Cuny5-0/+193
This terraform configuration is to create the buckets that I'm using for various buckets. Doing this through the UI is difficult, as there are too many options, it's easy to have different buckets with different settings when I need them to be identical, no way to review what the change is going to look like, etc. Change-Id: I8ee15939559e7632e2df9d17cfaec75d756930b6 Reviewed-on: https://cl.fcuny.net/c/world/+/713 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-08-10fix(home/terminal): use alacritty's default colorsFranck Cuny1-6/+0
Change-Id: I8e08d5ee8649f31e52bfdedda8083a2b78dba54d
2022-08-10fix(ops/tf): remove commentsFranck Cuny1-8/+0