about summary refs log tree commit diff
path: root/home (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ignore case for emacsrescue aliasFranck Cuny2024-02-191-1/+1
|
* alias to dump info from emacs when it freezesFranck Cuny2024-02-191-0/+1
|
* additional settings for firefoxFranck Cuny2024-02-021-2/+16
|
* install kubectlFranck Cuny2024-02-021-0/+6
|
* install firefoxFranck Cuny2024-02-024-1/+85
| | | | | | | | | | | The firefox packages for darwin are broken. `bandithedoge/nixpkgs-firefox-darwin` provides an overlay to install the package on darwin. Add some specific configurations to make firefox work as I want out of the box. We also add NUR to install some firefox extensions (ublock, 1password).
* bump the version of goFranck Cuny2024-01-251-1/+1
|
* jless is useful to inspect JSON filesFranck Cuny2023-12-151-0/+1
|
* various fixes for errors reported by deadnixFranck Cuny2023-12-151-1/+1
|
* delete more unused configurationsFranck Cuny2023-12-145-132/+10
|
* simplify the layoutFranck Cuny2023-12-149-1/+1
|
* delete even more unused configurationsFranck Cuny2023-12-0913-722/+7
|
* add nixd as a LSP for nix.Franck Cuny2023-12-041-0/+1
|
* don't need to install emacs' pGTK variantFranck Cuny2023-11-061-1/+0
|
* use 1password ssh agentFranck Cuny2023-11-062-6/+4
| | | | Enable ssh configuration on darwin.
* install a few more CLIFranck Cuny2023-11-061-2/+4
|
* add a couple of aliases for gitFranck Cuny2023-11-061-0/+5
|
* add 1password key and format some filesFranck Cuny2023-11-062-7/+4
|
* add ssh key from 1passowrd and sign commitsFranck Cuny2023-09-141-4/+3
|
* more configuration for darwinFranck Cuny2023-09-144-23/+42
|
* remove custom toolsFranck Cuny2023-08-211-1/+1
|
* switching back to alacritty + tmuxFranck Cuny2023-07-283-16/+23
| | | | kitty is not clicking for me. I still prefer tmux.
* add pantalaimon, a proxy for matrixFranck Cuny2023-07-081-0/+18
| | | | This is so I can use emacs as a client for matrix.
* add x509-info back to the list of toolsFranck Cuny2023-07-051-1/+1
|
* various updates related to music collectionFranck Cuny2023-07-052-15/+48
|
* change monospace font back to source code proFranck Cuny2023-06-082-2/+2
|
* profiles/git: ignore python bytecodeFranck Cuny2023-06-021-0/+1
|
* profiles/dev: set MYPY_CACHE_DIRFranck Cuny2023-06-021-0/+1
|
* profiles/dev: install virtualenvFranck Cuny2023-06-021-0/+1
|
* profiles/waybar: highlight text when one or more unit has failedFranck Cuny2023-06-021-0/+1
|
* workstation: more tweaks for the UI and fontsFranck Cuny2023-05-295-12/+11
|
* profiles/zsh: change prezto's themeFranck Cuny2023-05-281-1/+1
|
* tools/waybar-systemd-units: get a list of failed systemd unitsFranck Cuny2023-05-282-1/+11
| | | | | | | | Get a list of failed systemd units (both user and systems), and generate an output compatible to what waybar expects. Refer to https://github.com/Alexays/Waybar/wiki/Module:-Custom for more details about the format.
* font: switch to Roboto for system font and JetBrain for monospaceFranck Cuny2023-05-284-49/+19
|
* home/waybar: change the style to be a bit more readableFranck Cuny2023-05-231-33/+19
|
* profiles/workstation: stop using dark mode + preztoFranck Cuny2023-05-1611-170/+28
|
* home/ssh: add rsync.net to the match blockFranck Cuny2023-05-121-0/+6
|
* home: get rid of mail / gpg modulesFranck Cuny2023-05-075-162/+0
| | | | I don't use GPG anymore and I don't read mail in Emacs anymore.
* profiles/workstation: move element (matrix client)Franck Cuny2023-05-073-12/+2
|
* profiles/workstation: move sway to the workstation profileFranck Cuny2023-05-061-1/+0
|
* profiles/gtk: configure dark mode properlyFranck Cuny2023-05-061-6/+2
| | | | | | | | | | | | | Without this I was seeing the following error: ``` Unknown key Settings in /home/fcuny/.config/gtk-3.0/settings.ini ``` And the configuration contained: ``` [Settings] Settings=gtk-application-prefer-dark-theme=1 ```
* home/profiles: move (almost) all modules to profilesFranck Cuny2023-05-0578-1448/+957
| | | | | This is a major refactor, similar to what was done for the hosts, but in a single commit.
* home/packages: rewrite scripts to use writeShellApplicationFranck Cuny2023-04-302-19/+25
| | | | | This function produces a shell script with dependencies, set the PATH, set some SHELLOPTS, and check the script with shellcheck.
* home/packages: add a wrapper for restic on the nasFranck Cuny2023-04-301-0/+16
| | | | | This is to call restic on the nas from a remote machine. It sets variables and run everything via sudo.
* modules/drone: clean this properlyFranck Cuny2023-04-232-13/+0
|
* home/alacritty: smaller fontFranck Cuny2023-04-131-1/+1
|
* home/shell: alias to show DHCP leasesFranck Cuny2023-04-131-0/+1
|
* home/wayland: tweaks for mako and wofiFranck Cuny2023-03-312-1/+7
|
* home/sway: start sway and ssh-agent properlyFranck Cuny2023-03-314-14/+20
| | | | | I only need to run sway and the ssh-agent on a workstation (desktop or laptop). Start these two processes when the window manager starts.
* home/matrix: switch back to elementFranck Cuny2023-03-191-5/+1
| | | | fractal requires the gnome key chain but I got rid of it.
* home/fonts: be more consistent in my choicesFranck Cuny2023-03-184-9/+13
| | | | | | - source code pro for monospace - dejavu sans for sans serif - dejavu serif for serif
* home/sway: a bunch of small tweaksFranck Cuny2023-03-143-16/+12
|
* home/mpv: more configuration tweaksFranck Cuny2023-03-141-0/+7
|
* home/shell: a few more tweaks to zshFranck Cuny2023-03-143-2/+5
|
* home/git: some cleanupFranck Cuny2023-03-132-17/+1
| | | | | | - add a comment for each ssh-key that is not stored on a yubikey - simplify the git commit template - remove some extra config that I don't need
* home/passage: delete all references to password-storeFranck Cuny2023-03-132-28/+5
| | | | | | I completely replaced the usage of `pass' with `passage'. There's no need to keep a mapping file at this point, since my interaction with the git server is through ssh.
* home/alacritty: better (to me) colorsFranck Cuny2023-03-121-0/+28
|
* home/shell: aliases and cleaner promptFranck Cuny2023-03-122-1/+2
|
* home/yubikey: install (and run) yubikey-touch-detectorFranck Cuny2023-03-121-1/+25
| | | | | | | | This is a useful tool to know when I'm supposed to touch my yubikey (sometimes I forget that some actions require that). Also configure a systemd unit to run it, and configure it to send a notification to the desktop (at the moment this is consumed by mako).
* home/secrets: delete the one for gcloudFranck Cuny2023-03-122-4/+1
| | | | Turns out I don't need this one!
* home/gpg: disable the agentFranck Cuny2023-03-111-1/+1
| | | | | I do not need an agent anymore, since I don't need to decrypt anything in GPG at this point!
* home/yt-dlp: update configurationFranck Cuny2023-03-111-1/+3
|
* home/zsh: load ssh-agent before swayFranck Cuny2023-03-111-1/+2
| | | | We need to start the ssh agent (if needed) before we start sway.
* home/swaybar: add an indicator for systemd unitFranck Cuny2023-03-112-3/+38
| | | | | Reports the number of systemd units (user and systems) that are in failed state.
* home/shell: switch the default shell back to zshFranck Cuny2023-03-116-6/+46
| | | | | | | | I keep running into issues when using fish: I'm not familiar with the syntax and I don't use it enough that it sticks. I also need to google stuff regularly to figure out how things are supposed to work. This is annoying enough that the supposed benefits of fish are not worth it for me.
* secrets: move aptos' gcloud secrets to homeageFranck Cuny2023-03-112-3/+7
| | | | This secret is not needed system wide, I only need it to run some tools.
* secrets: use homeage to manage secrets for home-managerFranck Cuny2023-03-112-5/+13
| | | | | | | | | | | | | Instead of using agenix for all the secrets, I can use homeage for secrets that are related to my user sessions. Secrets by default will be store under `~/.secrets'. They are encrypted using `age' and to decrypt them, a key is expected to be located under `~/.age/key.txt'. The last place where I was using `pass' (and so GPG too) was for the secrets for `mbsync': this change adds a secret for fastmail to the repository and update `mbsync' configuration to use it.
* home/gnome: no more keyringFranck Cuny2023-03-104-29/+1
| | | | | | I used the keyring only to start the GPG agent and unlock the ssh keys. But since I'm storing the ssh keys on yubikeys and I don't use GPG, I can remove it.
* home/pass: configure passage properlyFranck Cuny2023-03-101-15/+2
| | | | | | | | | I need to be explicit about the path to the identity file. Since I'm switching from pass to passage, I also want to disable the automatic synchronization of the repository, and I don't need to have a wrapper for git to push the secrets (I push through ssh now instead of HTTPS).
* home/git: diff the content for age encrypted filesFranck Cuny2023-03-101-0/+4
|
* fix(home/wm): `programs.mako' has been renamed to `services.mako'Franck Cuny2023-03-041-1/+1
| | | | See https://github.com/nix-community/home-manager/pull/3265
* ref: don't use my custom tools for nowFranck Cuny2023-03-041-3/+3
| | | | I'm rewriting them in go and they are not ready to be used yet.
* fix(home/age): use `rage' for `passage'Franck Cuny2023-02-211-0/+4
| | | | | The current version of age shipped by nixos does not support the keys generated by `age-plugin-yubikey'.
* fix(home/git): simplify gitignore configurationFranck Cuny2023-02-212-21/+13
|
* feat(home/fish): new function to run home-managerFranck Cuny2023-02-211-0/+4
|
* feat(home/fish): function to create go projectsFranck Cuny2023-02-211-0/+27
| | | | | | A function to create a go project: it creates the git repository, setup the project using a flake template, create an initial commit, push it and ensure we can run drone on it.
* feat(home/fish): move fish's code to external filesFranck Cuny2023-02-215-20/+43
| | | | | | | It's easier to edit / debug / test the code that way. This also add a new function (`find-ssh-agent') to find or start a new ssh agent when a shell is started.
* feat(home/pass): add passageFranck Cuny2023-02-201-0/+10
| | | | Port of `pass' to use `age' instead of `gpg'.
* ref(home/gpg): don't use the gpg-agent as an ssh-agentFranck Cuny2023-02-201-1/+1
|
* ref(home/git): sign commits and tags properlyFranck Cuny2023-02-202-11/+16
| | | | | | The configuration can be simplified by using the `signing' directive. For some reason it was also set in the configuration for `pass' which, while it was correct, was in the wrong location.
* ref(modules/users): move ssh keys to a separate fileFranck Cuny2023-02-201-1/+4
| | | | | Each key is associated to a variable, which let me be more specific about which key to use depending on the context.
* feat(home/age): install tooling related to age and yubikeysFranck Cuny2023-02-203-0/+30
|
* fix(home/firefox): move plugins to the profileFranck Cuny2023-02-201-7/+7
|
* ref(home/gpg): install ykman and more configurations for GPGFranck Cuny2023-02-091-2/+11
| | | | | | Installing the yubikey manager (ykman) to help managing the keys. Add more configurations for GPG related to keys.
* ref(home/swaylock): different background colorFranck Cuny2023-01-221-1/+1
|
* feat(home/packages): install resticFranck Cuny2023-01-161-0/+1
|
* ref(home/matrix): replace element by fractalFranck Cuny2023-01-154-13/+18
| | | | | | | | | | | fractal(-next) is a client for matrix. It's GTK4 native and uses rust. While not much nicer looking than element, it's not an electron app, which I prefer (electron is slow, and element would freeze/crash from time to time). I renamed the module from element to matrix-client, in case I switch to something else in the future (or if there are additional configurations).
* ref(home/python): use the default versionFranck Cuny2023-01-151-2/+2
| | | | | | | | | | | | Use the default version of python for the nixos version I'm using. Remove an unused environment variable (PYTHON_HISTFILE) since it's not used (I don't remember where I got this one from, but it's not used to set the history for the python interpreter, see [1]). Add an environment variable for ipython. [1] https://github.com/python/cpython/blob/main/Lib/site.py#L468
* ref(home/gpg): set homedir for GPG configurationsFranck Cuny2023-01-151-0/+1
|
* ref(home/xdg): configure a few more environment variablesFranck Cuny2023-01-151-0/+3
|
* ref(home/sway): auto login and enable systemd integrationFranck Cuny2023-01-151-4/+7
| | | | | | | | | When the laptop boots, I already have to enter a passphrase to unlock the disks, I can trust that it's me and can automatically log into the system. Enable systemd integration for sway so that the correct session is started and environment variables are imported properly.
* ref(home/swayidle): configure it using upstream moduleFranck Cuny2023-01-111-18/+24
|
* fix(home/emacs): don't install nixpkgs-fmt hereFranck Cuny2023-01-071-1/+0
|
* fix(home/mail): set the full path to notmuch config for afewFranck Cuny2023-01-071-2/+2
| | | | | | It's expecting the configuration in a different place. I think some environment variable are not propagated correctly, might look into this later.
* fix(home/python): don't specify the versionFranck Cuny2023-01-071-2/+1
| | | | | Use what ever is the latest version set by nix, and don't install poetry (it seems to be broken at the moment).
* fix(home/sway): set the environment variable correctlyFranck Cuny2023-01-071-1/+1
|
* feat(home/packages): add tool masked-emailsFranck Cuny2023-01-071-0/+1
|
* fix(home/emacs): rename the packageFranck Cuny2023-01-071-1/+1
| | | | | | ``` trace: emacsPgtkNativeComp has been renamed to emacsPgtk, please update your expression. ```
* fix(home/firefox): remove extension https-everywhereFranck Cuny2023-01-071-1/+0
| | | | It's been deprecated.
* ref(fonts): switch back to source code proFranck Cuny2022-11-212-2/+2
| | | | I find Source Code Pro to be more readable than iosevka.
* feat(fonts): add iosevka to the list of fontsFranck Cuny2022-11-153-4/+4
| | | | | Replace the use of Source Code Pro with Iosevka in a few applications (sway, waybar, alacritty).
* ref(home/alacritty): use cascadia and larger font sizeFranck Cuny2022-11-131-1/+4
|
* feat(home/packages): install diveFranck Cuny2022-11-081-2/+3
| | | | A tool to explore layers in docker images.
* fix(services/drone): enable droneFranck Cuny2022-11-061-1/+1
| | | | | The URL for drone changed to https://ci.fcuny.net. The secrets also changed (and we remove the unencrypted file with secrets).
* Revert "ref(drone): remove all modules and configurations"Franck Cuny2022-11-052-0/+13
| | | | This reverts commit 614fc2fcce0e9ae0bcfdc6e08d3c4bac846d02a8.
* ref(home/git): update mapping for the git-helperFranck Cuny2022-11-052-2/+3
|
* ref(home/direnv): some configuration tweaksFranck Cuny2022-11-041-0/+4
|
* ref(home/packages): don't install opensslFranck Cuny2022-11-041-4/+0
| | | | | It's usually needed for developing some rust projects, but this should be setup by the flake of that project.
* 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.