aboutsummaryrefslogtreecommitdiff
path: root/home (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-08-17add catppuccin mocha theme for alacritty and starshipFranck Cuny3-1/+99
2025-08-16after experimenting with fido, I still prefer verticoFranck Cuny2-3/+5
2025-08-16move mpv/yt-dlp configuration to their own filesFranck Cuny3-3/+39
2025-08-12more simplificationsFranck Cuny1-1/+2
2025-08-12move secrets to their own files and delete unused profileFranck Cuny1-13/+0
2025-08-12delete LLM related stuff for nowFranck Cuny6-82/+1
2025-08-12users -> homeFranck Cuny34-0/+1880
2024-03-04move all home-manager settings under the profilesFranck Cuny5-409/+0
2024-03-04create profiles for home-managerFranck Cuny1-45/+0
To make it easier to support multiple systems with this configuration, move the current configuration for my personal machine to a profile named `personal.nix`. When I add a work machine the profile can be named `work.nix` and all configurations related to that system will live there.
2024-03-04expand configuration for vscodeFranck Cuny1-8/+65
2024-03-04install and configure vscodeFranck Cuny1-12/+70
2024-02-19ignore case for emacsrescue aliasFranck Cuny1-1/+1
2024-02-19alias to dump info from emacs when it freezesFranck Cuny1-0/+1
2024-02-02additional settings for firefoxFranck Cuny1-2/+16
2024-02-02install kubectlFranck Cuny1-0/+6
2024-02-02install firefoxFranck Cuny4-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).
2024-01-25bump the version of goFranck Cuny1-1/+1
2023-12-15jless is useful to inspect JSON filesFranck Cuny1-0/+1
2023-12-15various fixes for errors reported by deadnixFranck Cuny1-1/+1
2023-12-14delete more unused configurationsFranck Cuny5-132/+10
2023-12-14simplify the layoutFranck Cuny9-1/+1
2023-12-09delete even more unused configurationsFranck Cuny13-722/+7
2023-12-04add nixd as a LSP for nix.Franck Cuny1-0/+1
2023-11-06don't need to install emacs' pGTK variantFranck Cuny1-1/+0
2023-11-06use 1password ssh agentFranck Cuny2-6/+4
Enable ssh configuration on darwin.
2023-11-06install a few more CLIFranck Cuny1-2/+4
2023-11-06add a couple of aliases for gitFranck Cuny1-0/+5
2023-11-06add 1password key and format some filesFranck Cuny2-7/+4
2023-09-14add ssh key from 1passowrd and sign commitsFranck Cuny1-4/+3
2023-09-14more configuration for darwinFranck Cuny4-23/+42
2023-08-21remove custom toolsFranck Cuny1-1/+1
2023-07-28switching back to alacritty + tmuxFranck Cuny3-16/+23
kitty is not clicking for me. I still prefer tmux.
2023-07-08add pantalaimon, a proxy for matrixFranck Cuny1-0/+18
This is so I can use emacs as a client for matrix.
2023-07-05add x509-info back to the list of toolsFranck Cuny1-1/+1
2023-07-05various updates related to music collectionFranck Cuny2-15/+48
2023-06-08change monospace font back to source code proFranck Cuny2-2/+2
2023-06-02profiles/git: ignore python bytecodeFranck Cuny1-0/+1
2023-06-02profiles/dev: set MYPY_CACHE_DIRFranck Cuny1-0/+1
2023-06-02profiles/dev: install virtualenvFranck Cuny1-0/+1
2023-06-02profiles/waybar: highlight text when one or more unit has failedFranck Cuny1-0/+1
2023-05-29workstation: more tweaks for the UI and fontsFranck Cuny5-12/+11
2023-05-28profiles/zsh: change prezto's themeFranck Cuny1-1/+1
2023-05-28tools/waybar-systemd-units: get a list of failed systemd unitsFranck Cuny2-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.
2023-05-28font: switch to Roboto for system font and JetBrain for monospaceFranck Cuny4-49/+19
2023-05-23home/waybar: change the style to be a bit more readableFranck Cuny1-33/+19
2023-05-16profiles/workstation: stop using dark mode + preztoFranck Cuny11-170/+28
2023-05-12home/ssh: add rsync.net to the match blockFranck Cuny1-0/+6
2023-05-07home: get rid of mail / gpg modulesFranck Cuny5-162/+0
I don't use GPG anymore and I don't read mail in Emacs anymore.
2023-05-07profiles/workstation: move element (matrix client)Franck Cuny3-12/+2
2023-05-06profiles/workstation: move sway to the workstation profileFranck Cuny1-1/+0
2023-05-06profiles/gtk: configure dark mode properlyFranck Cuny1-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 ```
2023-05-05home/profiles: move (almost) all modules to profilesFranck Cuny78-1448/+957
This is a major refactor, similar to what was done for the hosts, but in a single commit.
2023-04-30home/packages: rewrite scripts to use writeShellApplicationFranck Cuny2-19/+25
This function produces a shell script with dependencies, set the PATH, set some SHELLOPTS, and check the script with shellcheck.
2023-04-30home/packages: add a wrapper for restic on the nasFranck Cuny1-0/+16
This is to call restic on the nas from a remote machine. It sets variables and run everything via sudo.
2023-04-23modules/drone: clean this properlyFranck Cuny2-13/+0
2023-04-13home/alacritty: smaller fontFranck Cuny1-1/+1
2023-04-13home/shell: alias to show DHCP leasesFranck Cuny1-0/+1
2023-03-31home/wayland: tweaks for mako and wofiFranck Cuny2-1/+7
2023-03-31home/sway: start sway and ssh-agent properlyFranck Cuny4-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.
2023-03-19home/matrix: switch back to elementFranck Cuny1-5/+1
fractal requires the gnome key chain but I got rid of it.
2023-03-18home/fonts: be more consistent in my choicesFranck Cuny4-9/+13
- source code pro for monospace - dejavu sans for sans serif - dejavu serif for serif
2023-03-14home/sway: a bunch of small tweaksFranck Cuny3-16/+12
2023-03-14home/mpv: more configuration tweaksFranck Cuny1-0/+7
2023-03-14home/shell: a few more tweaks to zshFranck Cuny3-2/+5
2023-03-13home/git: some cleanupFranck Cuny2-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
2023-03-13home/passage: delete all references to password-storeFranck Cuny2-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.
2023-03-12home/alacritty: better (to me) colorsFranck Cuny1-0/+28
2023-03-12home/shell: aliases and cleaner promptFranck Cuny2-1/+2
2023-03-12home/yubikey: install (and run) yubikey-touch-detectorFranck Cuny1-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).
2023-03-12home/secrets: delete the one for gcloudFranck Cuny2-4/+1
Turns out I don't need this one!
2023-03-11home/gpg: disable the agentFranck Cuny1-1/+1
I do not need an agent anymore, since I don't need to decrypt anything in GPG at this point!
2023-03-11home/yt-dlp: update configurationFranck Cuny1-1/+3
2023-03-11home/zsh: load ssh-agent before swayFranck Cuny1-1/+2
We need to start the ssh agent (if needed) before we start sway.
2023-03-11home/swaybar: add an indicator for systemd unitFranck Cuny2-3/+38
Reports the number of systemd units (user and systems) that are in failed state.
2023-03-11home/shell: switch the default shell back to zshFranck Cuny6-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.
2023-03-11secrets: move aptos' gcloud secrets to homeageFranck Cuny2-3/+7
This secret is not needed system wide, I only need it to run some tools.
2023-03-11secrets: use homeage to manage secrets for home-managerFranck Cuny2-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.
2023-03-10home/gnome: no more keyringFranck Cuny4-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.
2023-03-10home/pass: configure passage properlyFranck Cuny1-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).
2023-03-10home/git: diff the content for age encrypted filesFranck Cuny1-0/+4
2023-03-04fix(home/wm): `programs.mako' has been renamed to `services.mako'Franck Cuny1-1/+1
See https://github.com/nix-community/home-manager/pull/3265
2023-03-04ref: don't use my custom tools for nowFranck Cuny1-3/+3
I'm rewriting them in go and they are not ready to be used yet.
2023-02-21fix(home/age): use `rage' for `passage'Franck Cuny1-0/+4
The current version of age shipped by nixos does not support the keys generated by `age-plugin-yubikey'.
2023-02-21fix(home/git): simplify gitignore configurationFranck Cuny2-21/+13
2023-02-21feat(home/fish): new function to run home-managerFranck Cuny1-0/+4
2023-02-21feat(home/fish): function to create go projectsFranck Cuny1-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.
2023-02-21feat(home/fish): move fish's code to external filesFranck Cuny5-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.
2023-02-20feat(home/pass): add passageFranck Cuny1-0/+10
Port of `pass' to use `age' instead of `gpg'.
2023-02-20ref(home/gpg): don't use the gpg-agent as an ssh-agentFranck Cuny1-1/+1
2023-02-20ref(home/git): sign commits and tags properlyFranck Cuny2-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.
2023-02-20ref(modules/users): move ssh keys to a separate fileFranck Cuny1-1/+4
Each key is associated to a variable, which let me be more specific about which key to use depending on the context.
2023-02-20feat(home/age): install tooling related to age and yubikeysFranck Cuny3-0/+30
2023-02-20fix(home/firefox): move plugins to the profileFranck Cuny1-7/+7
2023-02-09ref(home/gpg): install ykman and more configurations for GPGFranck Cuny1-2/+11
Installing the yubikey manager (ykman) to help managing the keys. Add more configurations for GPG related to keys.
2023-01-22ref(home/swaylock): different background colorFranck Cuny1-1/+1
2023-01-16feat(home/packages): install resticFranck Cuny1-0/+1
2023-01-15ref(home/matrix): replace element by fractalFranck Cuny4-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).
2023-01-15ref(home/python): use the default versionFranck Cuny1-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
2023-01-15ref(home/gpg): set homedir for GPG configurationsFranck Cuny1-0/+1
2023-01-15ref(home/xdg): configure a few more environment variablesFranck Cuny1-0/+3
2023-01-15ref(home/sway): auto login and enable systemd integrationFranck Cuny1-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.
2023-01-11ref(home/swayidle): configure it using upstream moduleFranck Cuny1-18/+24
2023-01-07fix(home/emacs): don't install nixpkgs-fmt hereFranck Cuny1-1/+0
2023-01-07fix(home/mail): set the full path to notmuch config for afewFranck Cuny1-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.
2023-01-07fix(home/python): don't specify the versionFranck Cuny1-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).
2023-01-07fix(home/sway): set the environment variable correctlyFranck Cuny1-1/+1
2023-01-07feat(home/packages): add tool masked-emailsFranck Cuny1-0/+1
2023-01-07fix(home/emacs): rename the packageFranck Cuny1-1/+1
``` trace: emacsPgtkNativeComp has been renamed to emacsPgtk, please update your expression. ```
2023-01-07fix(home/firefox): remove extension https-everywhereFranck Cuny1-1/+0
It's been deprecated.
2022-11-21ref(fonts): switch back to source code proFranck Cuny2-2/+2
I find Source Code Pro to be more readable than iosevka.
2022-11-15feat(fonts): add iosevka to the list of fontsFranck Cuny3-4/+4
Replace the use of Source Code Pro with Iosevka in a few applications (sway, waybar, alacritty).
2022-11-13ref(home/alacritty): use cascadia and larger font sizeFranck Cuny1-1/+4
2022-11-08feat(home/packages): install diveFranck Cuny1-2/+3
A tool to explore layers in docker images.
2022-11-06fix(services/drone): enable droneFranck Cuny1-1/+1
The URL for drone changed to https://ci.fcuny.net. The secrets also changed (and we remove the unencrypted file with secrets).
2022-11-05Revert "ref(drone): remove all modules and configurations"Franck Cuny2-0/+13
This reverts commit 614fc2fcce0e9ae0bcfdc6e08d3c4bac846d02a8.
2022-11-05ref(home/git): update mapping for the git-helperFranck Cuny2-2/+3
2022-11-04ref(home/direnv): some configuration tweaksFranck Cuny1-0/+4
2022-11-04ref(home/packages): don't install opensslFranck Cuny1-4/+0
It's usually needed for developing some rust projects, but this should be setup by the flake of that project.
2022-10-31feat(home/packages): install gha-billing CLIFranck Cuny1-2/+7
2022-10-31fix(home/python): add types for requestsFranck Cuny1-0/+1
2022-10-29ref(home/python): install a few more packagesFranck Cuny1-2/+14
2022-10-29fix(home/git): remove a gerrit referenceFranck Cuny1-1/+0
2022-10-29fix(home): remove various shell functions related to gerritFranck Cuny3-12/+0
I'm not using gerrit anymore.
2022-10-23feat(home/packages): install git-broomFranck Cuny1-0/+1
2022-10-22feat(home/packages): install the tool x509-infoFranck Cuny1-0/+1
2022-10-17feat(home/python): add lsp/mypy packagesFranck Cuny1-3/+4
2022-10-16ref(tools/git-blame-stats): rewrite the tool in pythonFranck Cuny1-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.
2022-10-15ref(seqstat): rewrite from go to pythonFranck Cuny1-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.
2022-10-04ref(tools/ipconverter): rewrite the tool in pythonFranck Cuny1-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`.
2022-10-03feat(home/packages): install gh-ssh-keysFranck Cuny1-2/+11
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-09-26fix(home/element): I want the wayland versionFranck Cuny1-1/+1
2022-09-24fix(home/wm): unlock gnome-keyring when loggingFranck Cuny2-11/+19
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-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-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-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-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 Cuny2-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
2022-08-10fix(home/terminal): use alacritty's default colorsFranck Cuny1-6/+0
Change-Id: I8e08d5ee8649f31e52bfdedda8083a2b78dba54d
2022-08-08feat(home/terraform): install terraform when neededFranck Cuny2-0/+11
Change-Id: Ie87672629ff23eeb93f5308898014cc737490b7c Reviewed-on: https://cl.fcuny.net/c/world/+/708 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07fix(home/email): correct rule to move emails with afewFranck Cuny1-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>
2022-07-07fix(home/email): remove a filter from afewFranck Cuny1-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>
2022-07-07feat(home/mail): enable smtp to send emailsFranck Cuny1-0/+3
Change-Id: Ia651a1821c44ec45a2dae033e44c91c9eab8459e Reviewed-on: https://cl.fcuny.net/c/world/+/607 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-02feat(home/mail): run afew before mbsyncFranck Cuny1-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>
2022-07-02feat(home/mail): add more rules for afewFranck Cuny1-0/+18
Change-Id: Ieaa3163db8f73bb6e299304099e3325bba99cc10 Reviewed-on: https://cl.fcuny.net/c/world/+/602 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-02fix(home/email): remove the environment variable NOTMUCH_CONFIGFranck Cuny1-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>
2022-07-02fix(new-lines): add or remove new lines where neededFranck Cuny2-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>
2022-07-02fix(home/git): install pre-commit toolFranck Cuny1-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>
2022-06-23feat(home/shell): add alias to search nix packagesFranck Cuny1-0/+1
Change-Id: I394d4cd05ff763aed28e91d86e2905f6ad414336 Reviewed-on: https://cl.fcuny.net/c/world/+/470 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-23feat(home/go): install go-tools packageFranck Cuny1-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
2022-06-20feat(home/shell): add aliases for ip2int and int2ipFranck Cuny1-0/+2
Change-Id: I309e378a9cd1871fc84b395a6e077757106d2628 Reviewed-on: https://cl.fcuny.net/c/world/+/463 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-20fix(home/emacs): don't create frame for emacsclientFranck Cuny1-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>
2022-06-20doc(home/git): comment some of the optionsFranck Cuny1-0/+4
Change-Id: I7c898923c423a30cbc5ba8ba79fb8b9e8e4d2d21 Reviewed-on: https://cl.fcuny.net/c/world/+/461 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
2022-06-20feat(home/git): add a few more options in the default configurationFranck Cuny1-0/+5
Change-Id: I14c7b3349973db99c01c102c57f453840f284612 Reviewed-on: https://cl.fcuny.net/c/world/+/460 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-20fix(home/emacs): install the package nixpkgs-fmtFranck Cuny1-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>
2022-06-20feat(home/shell): manage fish's functions directoryFranck Cuny3-0/+14
Change-Id: I03a35a211c7563e65770b39b140099291efafab9 Reviewed-on: https://cl.fcuny.net/c/world/+/458 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
2022-06-20ref(home/shell): move all shell aliases to a shared configurationFranck Cuny4-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
2022-06-20ref(home/shell): make it easier to share common things between shellsFranck Cuny12-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>
2022-06-18feat(tools/git-blame-stats): add the CLI with default git configurationFranck Cuny1-1/+2
Change-Id: I59fed38dca010d6aeac48b5066021ca61ba69db9 Reviewed-on: https://cl.fcuny.net/c/world/+/447 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-18feat(ipconverter): install the tool with my other packagesFranck Cuny1-1/+2
Change-Id: I8a7e0aa493f26bec11772f48ed481781df72cbe1 Reviewed-on: https://cl.fcuny.net/c/world/+/443 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
2022-06-16ref(scripts): remove the module for scriptsFranck Cuny5-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>
2022-06-15ref(home/go): update to go version 1.18, ensure goplsFranck Cuny1-1/+3
Change-Id: I7b8a48c8cfdab1bc6e9a95a999f4add1fc07ebc1 Reviewed-on: https://cl.fcuny.net/c/world/+/420 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-14feat(home/beet): import albums on the NASFranck Cuny3-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>
2022-06-11ref(drone): remove all modules and configurationsFranck Cuny2-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>
2022-06-10fix(fmt): correct formatting for all nix filesFranck Cuny44-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>
2022-06-09feat(nix): update nix to version 22.05Franck Cuny1-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>
2022-06-09fix(GTK): delete commented codeFranck Cuny1-6/+0
Change-Id: Ia942b32b9eef3d5205a7845ef4945d42af8a0862 Reviewed-on: https://cl.fcuny.net/c/world/+/321 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-09feat(gtk): add bookmarksFranck Cuny1-0/+2
Change-Id: Icb3bd8cf01850aa9d35fd574cc18543df5b71fca Reviewed-on: https://cl.fcuny.net/c/world/+/304 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-09ref(zsh): ensure home-manager variables are set before starting swayFranck Cuny2-6/+10
Change-Id: I820a636bcdeb6abf7ff8a25ec409c08916e94c42 Reviewed-on: https://cl.fcuny.net/c/world/+/303 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-09ref(git): remove git.fcuny.net from configurationFranck Cuny1-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>
2022-06-09fix(pass-git-helper): remove mapping for git.fcuny.netFranck Cuny1-4/+1
Change-Id: I5211647802a08e9984dffb6247249ec608688d8c Reviewed-on: https://cl.fcuny.net/c/world/+/301 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-29fix(home/zsh): don't start tmux when in an ssh sessionFranck Cuny1-2/+8
Change-Id: I4a30d787bddbe16026fd8d24378f532696256002 Reviewed-on: https://cl.fcuny.net/c/world/+/166 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-29feat(home/git): add an empty line in the templateFranck Cuny1-0/+1
Change-Id: Icdbc6af9a75834f0e6b11fa2f15d952deb6191dd Reviewed-on: https://cl.fcuny.net/c/world/+/165 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-29feat(home/git): add alias to review with gerritFranck Cuny1-0/+1
Change-Id: Ie3244add8420632017132c20c804fd6ecab3a4e0 Reviewed-on: https://cl.fcuny.net/c/world/+/164 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-29feat(home/zsh): add helper function for gerritFranck Cuny2-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>
2022-05-26feat(home/git): add credential configuration for cl.fcuny.netFranck Cuny2-0/+4
Change-Id: I94e28dc52d69c3c2ee4d59a0109c9ae32402fb2c
2022-05-19feat(home): add a script to create flamegraph from a processFranck Cuny3-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'.
2022-05-18feat(git): add a template for commit messagesFranck Cuny2-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.
2022-05-16sway: comments and floating windows configurationFranck Cuny1-4/+27
2022-05-16swaybar: clean up description for bluetoothFranck Cuny1-1/+1
2022-05-16zsh: manage tmux and start swayFranck Cuny2-1/+16
If login, start sway. If tmux is not running, start it.
2022-05-16bluetooh: enable on aptosFranck Cuny2-0/+11
2022-05-15alacritty: better colorsFranck Cuny1-2/+2
2022-05-15zsh: some cleanupFranck Cuny3-4/+20
2022-05-15terminal: once again, fix the colorsFranck Cuny2-4/+7
2022-05-15zsh: switch to zsh as the default shellFranck Cuny5-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.
2022-05-14home: run abcde in `~/import`Franck Cuny1-0/+1
2022-05-13home: drop custom colors for alacrittyFranck Cuny1-26/+0
2022-05-13home: fix name of the package for EmacsFranck Cuny1-1/+1
2022-05-12home: set environment variables for drone-cliFranck Cuny1-1/+4
2022-05-02home: install the drone CLIFranck Cuny2-0/+9
2022-05-01home: add a module for direnvFranck Cuny2-0/+29
2022-04-24tmux: start windows at 1Franck Cuny1-0/+3
Renumber windows, I prefer the consistency.
2022-04-24fish: start tmux on new sessionFranck Cuny1-3/+6
Unless we're in a SSH connection. If there's already a session 0, attach to it.
2022-04-24gcloud: add google-cloud-sdk on trusted hostsFranck Cuny2-0/+11
2022-04-22alacritty: use custom colorsFranck Cuny1-0/+26
The default is too dark for my eyes.
2022-04-21syncthing: enable on tahoeFranck Cuny1-14/+0
2022-04-21syncthing: let's run it from home-managerFranck Cuny1-0/+14
2022-04-21mail: fix tags for notmuchFranck Cuny1-1/+1
The default tags should be unread and new, otherwise there's nothing left for `afew` to tag.
2022-04-13fish: only start sway when sway is installedFranck Cuny1-6/+8
2022-04-13fish: execute sway on login on tty1Franck Cuny1-0/+5
2022-04-13fish: start tmux on terminal startFranck Cuny1-0/+6
2022-04-09delete configuration related to colorsFranck Cuny7-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.
2022-04-09add a few more packages for home/Franck Cuny6-0/+43
2022-04-09install documentations (man)Franck Cuny2-0/+10
2022-04-09add pcmanfm and easyeffectsFranck Cuny2-0/+10
2022-04-09small fixesFranck Cuny4-4/+4
2022-04-09add a few more modules to home/ and delete stuffFranck Cuny6-3/+62
2022-04-08home: move waybar's style to a CSS fileFranck Cuny2-87/+84
2022-04-08home: move css/config for wofi to external filesFranck Cuny3-52/+49
2022-04-08alacritty: use light colorsFranck Cuny2-2/+34
2022-04-08home: add more configurations for home-managerFranck Cuny22-0/+833
2022-04-07home: fix for yt-dlp configurationFranck Cuny1-1/+1
2022-04-07home: misc fixesFranck Cuny10-23/+24
2022-04-07initial attempt to reconfigure home-managerFranck Cuny13-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.