about summary refs log tree commit diff
path: root/home (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(home/packages): install gha-billing CLIFranck Cuny2022-10-311-2/+7
|
* fix(home/python): add types for requestsFranck Cuny2022-10-311-0/+1
|
* ref(home/python): install a few more packagesFranck Cuny2022-10-291-2/+14
|
* fix(home/git): remove a gerrit referenceFranck Cuny2022-10-291-1/+0
|
* fix(home): remove various shell functions related to gerritFranck Cuny2022-10-293-12/+0
| | | | I'm not using gerrit anymore.
* feat(home/packages): install git-broomFranck Cuny2022-10-231-0/+1
|
* feat(home/packages): install the tool x509-infoFranck Cuny2022-10-221-0/+1
|
* feat(home/python): add lsp/mypy packagesFranck Cuny2022-10-171-3/+4
|
* ref(tools/git-blame-stats): rewrite the tool in pythonFranck Cuny2022-10-161-0/+1
| | | | | | 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.
* ref(seqstat): rewrite from go to pythonFranck Cuny2022-10-151-0/+1
| | | | | | 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.
* ref(tools/ipconverter): rewrite the tool in pythonFranck Cuny2022-10-041-2/+0
| | | | | | | 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`.
* feat(home/packages): install gh-ssh-keysFranck Cuny2022-10-031-2/+11
| | | | Add a new input to the flake configuration to install `gh-ssh-keys`.
* fix(home/rust): switch to the latest stable toolchainFranck Cuny2022-10-021-1/+1
|
* fix(home/element): I want the wayland versionFranck Cuny2022-09-261-1/+1
|
* fix(home/wm): unlock gnome-keyring when loggingFranck Cuny2022-09-242-11/+19
|
* fix(home/shell): set value for PKG_CONFIG_PATHFranck Cuny2022-09-241-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 ...
* fix(home/waybar): fix the configuration after 22.05Franck Cuny2022-09-231-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
* feat(home/python): add a few more packagesFranck Cuny2022-09-181-2/+8
| | | | | Having requests installed by default is useful to write quickly a script, and the black formatter is to enforce consistency.
* feat(home/git): sign commits with my ssh keyFranck Cuny2022-09-171-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/
* fix(home/rust): better setupFranck Cuny2022-09-071-5/+11
| | | | | | Configure the latest beta for rust and pull some tools with it. Change-Id: Icd7e3a7efd2a5485ab7380a9d077613c03617905
* fix(home/email): remove inbox tag for archived emailsFranck Cuny2022-09-071-1/+4
| | | | Change-Id: If0b49ce46875f9f5bd35b792596796bcdb85b3e9
* feat(home/terraform): install the LSP serverFranck Cuny2022-09-041-1/+4
| | | | Change-Id: I436d66239d25e69e90c43c036afde5dd3bf18915
* feat(rust): add an overlay to install rustFranck Cuny2022-08-222-0/+18
| | | | | | | | 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
* fix(home/terminal): use alacritty's default colorsFranck Cuny2022-08-101-6/+0
| | | | Change-Id: I8e08d5ee8649f31e52bfdedda8083a2b78dba54d
* feat(home/terraform): install terraform when neededFranck Cuny2022-08-082-0/+11
| | | | | | | Change-Id: Ie87672629ff23eeb93f5308898014cc737490b7c Reviewed-on: https://cl.fcuny.net/c/world/+/708 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(home/email): correct rule to move emails with afewFranck Cuny2022-07-071-1/+1
| | | | | | | | | | If an email has the tag 'archive' while in the Inbox folder, it needs to be moved to the archive directory. Change-Id: I44efc9e51fe0e749a5a2ffa15fe32b8b945d12f0 Reviewed-on: https://cl.fcuny.net/c/world/+/609 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(home/email): remove a filter from afewFranck Cuny2022-07-071-6/+0
| | | | | | | | | | | | I do not need this filter anymore, it was a one time thing to make sure all emails in the archive directory are tagged properly. Running this every 5 minutes is not needed, but it also trigger the fans on the XPS, so let's remove this. Change-Id: I6ab3669b5708997e4e3681a5d7b0416efe8a1dd9 Reviewed-on: https://cl.fcuny.net/c/world/+/608 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(home/mail): enable smtp to send emailsFranck Cuny2022-07-071-0/+3
| | | | | | | Change-Id: Ia651a1821c44ec45a2dae033e44c91c9eab8459e Reviewed-on: https://cl.fcuny.net/c/world/+/607 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(home/mail): run afew before mbsyncFranck Cuny2022-07-021-0/+1
| | | | | | | | | | Move the mails based on some rules, then we can synchronize local and remote stores. Change-Id: Iae46d94b14606c54a05efa0aa7eb5ca1eb1deb90 Reviewed-on: https://cl.fcuny.net/c/world/+/603 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(home/mail): add more rules for afewFranck Cuny2022-07-021-0/+18
| | | | | | | Change-Id: Ieaa3163db8f73bb6e299304099e3325bba99cc10 Reviewed-on: https://cl.fcuny.net/c/world/+/602 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(home/email): remove the environment variable NOTMUCH_CONFIGFranck Cuny2022-07-021-1/+0
| | | | | | | | | | The path is incorrect, and it's not needed. Instead of fixing the path let's drop the variable. Change-Id: I0b86add1739769810ec8369aac8da60ba38fa0bd Reviewed-on: https://cl.fcuny.net/c/world/+/601 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(new-lines): add or remove new lines where neededFranck Cuny2022-07-022-2/+0
| | | | | | | | | | | The pre-commit hook for new lines reported and correct a number of issues, so let's commit them now and after that we ca enable the hook for the repository. Change-Id: I5bb882d3c2cca870ef94301303f029acfb308740 Reviewed-on: https://cl.fcuny.net/c/world/+/592 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(home/git): install pre-commit toolFranck Cuny2022-07-021-1/+1
| | | | | | | | | | | | | | | The tool `pre-commit' is installed as part of the nix shell for this repository, but not on the host (or in my profile). It means that if I try to make a commit via Emacs/magit, it fails, since it's not in my path. By installing it with home-manager, it's in the path, and it can be used by magit when creating a commit. Change-Id: Ifa61d0be1027043eecaf11dd40fbba1ed2f5a9a6 Reviewed-on: https://cl.fcuny.net/c/world/+/591 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(home/shell): add alias to search nix packagesFranck Cuny2022-06-231-0/+1
| | | | | | | Change-Id: I394d4cd05ff763aed28e91d86e2905f6ad414336 Reviewed-on: https://cl.fcuny.net/c/world/+/470 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(home/go): install go-tools packageFranck Cuny2022-06-231-1/+1
| | | | | | | | | This package contains a number of go tools, like staticcheck. Change-Id: I4c923137a430b782ef3ed090bc252586e2ed36ef Reviewed-on: https://cl.fcuny.net/c/world/+/468 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
* feat(home/shell): add aliases for ip2int and int2ipFranck Cuny2022-06-201-0/+2
| | | | | | | Change-Id: I309e378a9cd1871fc84b395a6e077757106d2628 Reviewed-on: https://cl.fcuny.net/c/world/+/463 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(home/emacs): don't create frame for emacsclientFranck Cuny2022-06-201-2/+2
| | | | | | | | | Use the existing one. Change-Id: I3983aa234528a97ebab87982c8af88472a5a2933 Reviewed-on: https://cl.fcuny.net/c/world/+/462 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* doc(home/git): comment some of the optionsFranck Cuny2022-06-201-0/+4
| | | | | | | Change-Id: I7c898923c423a30cbc5ba8ba79fb8b9e8e4d2d21 Reviewed-on: https://cl.fcuny.net/c/world/+/461 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
* feat(home/git): add a few more options in the default configurationFranck Cuny2022-06-201-0/+5
| | | | | | | Change-Id: I14c7b3349973db99c01c102c57f453840f284612 Reviewed-on: https://cl.fcuny.net/c/world/+/460 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(home/emacs): install the package nixpkgs-fmtFranck Cuny2022-06-201-0/+1
| | | | | | | | | | | | | | | nixpkgs-fmt is a tool to format nix code. This is the one the nix community seems to recommend (https://github.com/nix-community/nixpkgs-fmt) so I should use it. I'm installing this with Emacs because that's how I interact with this code, and I'll configure Emacs to use it for formatting the code. Change-Id: I4364a898c54c75ace12d07636085faa7e9c050c7 Reviewed-on: https://cl.fcuny.net/c/world/+/459 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(home/shell): manage fish's functions directoryFranck Cuny2022-06-203-0/+14
| | | | | | | Change-Id: I03a35a211c7563e65770b39b140099291efafab9 Reviewed-on: https://cl.fcuny.net/c/world/+/458 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
* ref(home/shell): move all shell aliases to a shared configurationFranck Cuny2022-06-204-6/+20
| | | | | | | | | | By moving the aliases to a shared module, they can be used between zsh and fish. Change-Id: Ifcfe0af3b90825fe3a67bc1796d4cf65a58d3ff2 Reviewed-on: https://cl.fcuny.net/c/world/+/456 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
* ref(home/shell): make it easier to share common things between shellsFranck Cuny2022-06-2012-39/+49
| | | | | | | | | | | | | | | | | | | | I'm considering trying again fish, and there are a number of things that should be common between zsh and fish (aliases, environment variables, ...). Instead of duplicating these settings multiple time, I'm consolidating the shell configurations under `home/shell`, and I can set the shell I want to use with `my.home.shell.name`. The first step is to move the modules for fish and zsh under `home/shell`, add an interface to pick which one I want to use, and modify the `host/home.nix` configuration to keep using zsh with the new interface. Change-Id: Idb66b1a6fcc11a6eeaf5fd2d32dd3698d2d85bdf Reviewed-on: https://cl.fcuny.net/c/world/+/455 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(tools/git-blame-stats): add the CLI with default git configurationFranck Cuny2022-06-181-1/+2
| | | | | | | Change-Id: I59fed38dca010d6aeac48b5066021ca61ba69db9 Reviewed-on: https://cl.fcuny.net/c/world/+/447 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(ipconverter): install the tool with my other packagesFranck Cuny2022-06-181-1/+2
| | | | | | | Change-Id: I8a7e0aa493f26bec11772f48ed481781df72cbe1 Reviewed-on: https://cl.fcuny.net/c/world/+/443 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
* ref(scripts): remove the module for scriptsFranck Cuny2022-06-165-45/+14
| | | | | | | | | | The scripts should be part of other modules. If there's no good place for them, they should be part of the packages module. Change-Id: Ic6c678fbe981444848a0ac7015c6c2e450f3b1c1 Reviewed-on: https://cl.fcuny.net/c/world/+/424 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* ref(home/go): update to go version 1.18, ensure goplsFranck Cuny2022-06-151-1/+3
| | | | | | | Change-Id: I7b8a48c8cfdab1bc6e9a95a999f4add1fc07ebc1 Reviewed-on: https://cl.fcuny.net/c/world/+/420 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(home/beet): import albums on the NASFranck Cuny2022-06-143-30/+60
| | | | | | | | | | | | Two new scripts are created. The first one is to copy an album (usually in zip format) from my desktop to the NAS. Once the file is copied, the script calls the second script, which extract the album and call beet to get it imported in my music collection. Change-Id: I93509e0cc213ba884a9282e1f474a0f9298a1fb7 Reviewed-on: https://cl.fcuny.net/c/world/+/417 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* ref(drone): remove all modules and configurationsFranck Cuny2022-06-112-13/+0
| | | | | | | | | I do not use drone anymore, no need to keep this around. Change-Id: I8f9564747939a6d1a2b95bcfe8e2c70e46d8bc1e Reviewed-on: https://cl.fcuny.net/c/world/+/411 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(fmt): correct formatting for all nix filesFranck Cuny2022-06-1044-45/+90
| | | | | | | | | This was done by running `nixpkgs-fmt .'. Change-Id: I4ea6c1e759bf468d08074be2111cbc7af72df295 Reviewed-on: https://cl.fcuny.net/c/world/+/404 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(nix): update nix to version 22.05Franck Cuny2022-06-091-4/+1
| | | | | | | | | | | | | NixOS 22.05 was released last month. Bump the versions for both nixos and home-manager. I also need to make a few changes for this update work (packages were renamed, options were addded to tailscale, ...) Change-Id: I84ed9f21915b769c9f7b8e21988b2b021715c982 Reviewed-on: https://cl.fcuny.net/c/world/+/365 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(GTK): delete commented codeFranck Cuny2022-06-091-6/+0
| | | | | | Change-Id: Ia942b32b9eef3d5205a7845ef4945d42af8a0862 Reviewed-on: https://cl.fcuny.net/c/world/+/321 Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(gtk): add bookmarksFranck Cuny2022-06-091-0/+2
| | | | | | Change-Id: Icb3bd8cf01850aa9d35fd574cc18543df5b71fca Reviewed-on: https://cl.fcuny.net/c/world/+/304 Reviewed-by: Franck Cuny <franck@fcuny.net>
* ref(zsh): ensure home-manager variables are set before starting swayFranck Cuny2022-06-092-6/+10
| | | | | | Change-Id: I820a636bcdeb6abf7ff8a25ec409c08916e94c42 Reviewed-on: https://cl.fcuny.net/c/world/+/303 Reviewed-by: Franck Cuny <franck@fcuny.net>
* ref(git): remove git.fcuny.net from configurationFranck Cuny2022-06-091-1/+0
| | | | | | | | | I don't have credentials for that URL anymore, everything goes through cl.fcuny.net. Change-Id: I2361444c2ea42679ab4f28758f708e53eb9c8c06 Reviewed-on: https://cl.fcuny.net/c/world/+/302 Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(pass-git-helper): remove mapping for git.fcuny.netFranck Cuny2022-06-091-4/+1
| | | | | | Change-Id: I5211647802a08e9984dffb6247249ec608688d8c Reviewed-on: https://cl.fcuny.net/c/world/+/301 Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(home/zsh): don't start tmux when in an ssh sessionFranck Cuny2022-05-291-2/+8
| | | | | | Change-Id: I4a30d787bddbe16026fd8d24378f532696256002 Reviewed-on: https://cl.fcuny.net/c/world/+/166 Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(home/git): add an empty line in the templateFranck Cuny2022-05-291-0/+1
| | | | | | Change-Id: Icdbc6af9a75834f0e6b11fa2f15d952deb6191dd Reviewed-on: https://cl.fcuny.net/c/world/+/165 Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(home/git): add alias to review with gerritFranck Cuny2022-05-291-0/+1
| | | | | | Change-Id: Ie3244add8420632017132c20c804fd6ecab3a4e0 Reviewed-on: https://cl.fcuny.net/c/world/+/164 Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(home/zsh): add helper function for gerritFranck Cuny2022-05-292-1/+6
| | | | | | | | Add a function `rgerrit' to run gerrit commands on the server. Change-Id: I2beb77e7817e2be03ffbd008cf3545091a9d4c41 Reviewed-on: https://cl.fcuny.net/c/world/+/163 Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(home/git): add credential configuration for cl.fcuny.netFranck Cuny2022-05-262-0/+4
| | | | Change-Id: I94e28dc52d69c3c2ee4d59a0109c9ae32402fb2c
* feat(home): add a script to create flamegraph from a processFranck Cuny2022-05-193-0/+28
| | | | | | | This script (`perf-flamegraph-process') takes a process as an argument, and will run it with `perf' to capture the call graph, and will generate the flamegraph from it. The SVG is saved under `~/workspace/tmp/flamegraph'.
* feat(git): add a template for commit messagesFranck Cuny2022-05-182-40/+66
| | | | | | In order to write good commit message, having a reminder of how to write them is useful. This template provides some guidance to categorize the change and how to phrase the description.
* sway: comments and floating windows configurationFranck Cuny2022-05-161-4/+27
|
* swaybar: clean up description for bluetoothFranck Cuny2022-05-161-1/+1
|
* zsh: manage tmux and start swayFranck Cuny2022-05-162-1/+16
| | | | If login, start sway. If tmux is not running, start it.
* bluetooh: enable on aptosFranck Cuny2022-05-162-0/+11
|
* alacritty: better colorsFranck Cuny2022-05-151-2/+2
|
* zsh: some cleanupFranck Cuny2022-05-153-4/+20
|
* terminal: once again, fix the colorsFranck Cuny2022-05-152-4/+7
|
* zsh: switch to zsh as the default shellFranck Cuny2022-05-155-0/+104
| | | | | | | | | | `zsh' is available everywhere and is compatible with bash. When using `fish' I need to remember how to do things. While the completion style is nicer, I don't care about the rest. I prefer to have a consistent experience in the shell, no matter where am I. This is an initial configuration, I might need to make a few changes as I go.
* home: run abcde in `~/import`Franck Cuny2022-05-141-0/+1
|
* home: drop custom colors for alacrittyFranck Cuny2022-05-131-26/+0
|
* home: fix name of the package for EmacsFranck Cuny2022-05-131-1/+1
|
* home: set environment variables for drone-cliFranck Cuny2022-05-121-1/+4
|
* home: install the drone CLIFranck Cuny2022-05-022-0/+9
|
* home: add a module for direnvFranck Cuny2022-05-012-0/+29
|
* tmux: start windows at 1Franck Cuny2022-04-241-0/+3
| | | | Renumber windows, I prefer the consistency.
* fish: start tmux on new sessionFranck Cuny2022-04-241-3/+6
| | | | | Unless we're in a SSH connection. If there's already a session 0, attach to it.
* gcloud: add google-cloud-sdk on trusted hostsFranck Cuny2022-04-242-0/+11
|
* alacritty: use custom colorsFranck Cuny2022-04-221-0/+26
| | | | The default is too dark for my eyes.
* syncthing: enable on tahoeFranck Cuny2022-04-211-14/+0
|
* syncthing: let's run it from home-managerFranck Cuny2022-04-211-0/+14
|
* mail: fix tags for notmuchFranck Cuny2022-04-211-1/+1
| | | | | The default tags should be unread and new, otherwise there's nothing left for `afew` to tag.
* fish: only start sway when sway is installedFranck Cuny2022-04-131-6/+8
|
* fish: execute sway on login on tty1Franck Cuny2022-04-131-0/+5
|
* fish: start tmux on terminal startFranck Cuny2022-04-131-0/+6
|
* delete configuration related to colorsFranck Cuny2022-04-097-154/+9
| | | | | | | Setting colors is hard, and it's an easy way to waste time. The only color settings I keep are the ones related to waybar, to make sure it does not look like a Christmas tree. Which means that most applications are going to use their default theme, and I'm OK with that.
* add a few more packages for home/Franck Cuny2022-04-096-0/+43
|
* install documentations (man)Franck Cuny2022-04-092-0/+10
|
* add pcmanfm and easyeffectsFranck Cuny2022-04-092-0/+10
|
* small fixesFranck Cuny2022-04-094-4/+4
|
* add a few more modules to home/ and delete stuffFranck Cuny2022-04-096-3/+62
|
* home: move waybar's style to a CSS fileFranck Cuny2022-04-082-87/+84
|
* home: move css/config for wofi to external filesFranck Cuny2022-04-083-52/+49
|
* alacritty: use light colorsFranck Cuny2022-04-082-2/+34
|
* home: add more configurations for home-managerFranck Cuny2022-04-0822-0/+833
|
* home: fix for yt-dlp configurationFranck Cuny2022-04-071-1/+1
|
* home: misc fixesFranck Cuny2022-04-0710-23/+24
|
* initial attempt to reconfigure home-managerFranck Cuny2022-04-0713-0/+277
All the modules that are needed for home-manager should be under `home/`, and each host will have a `host.nix` where the modules are enabled as needed. Later on we can create some profiles to make it easier to consume the configuration. I apply this only to tahoe for now, as the amount of packages needed for my user are pretty limited.