about summary refs log tree commit diff
path: root/nix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix the configuration for aspellFranck Cuny6 days1-2/+11
|
* install just and add an aliasFranck Cuny6 days1-0/+2
|
* add a few more rules to justfileFranck Cuny6 days1-1/+1
|
* formatFranck Cuny6 days1-1/+2
|
* switch to the newer version of nixfmtFranck Cuny6 days25-131/+271
| | | | | | `nixfmt-rfc-style' replaces `nixfmt-classic'. It's actively maintained, but also changes the style, so this commit touches all the files in the repository.
* use treefmt to format all the filesFranck Cuny6 days3-11/+7
|
* sign using the key from 1passwordFranck Cuny6 days1-1/+1
|
* cleanup ssh match blocksFranck Cuny7 days1-6/+6
|
* use ssh instead of http when working on my repositoriesFranck Cuny7 days1-0/+3
|
* add overlay for the hashi toolFranck Cuny7 days1-0/+10
|
* install some tools only on work machineFranck Cuny7 days3-10/+19
|
* add support for overlays and add one for `sapi'Franck Cuny7 days2-0/+8
|
* fish defaults are fineFranck Cuny7 days1-9/+0
|
* install rustupFranck Cuny9 days1-0/+3
|
* enable per repository hooksFranck Cuny9 days1-1/+1
| | | | | | See https://gitolite.com/gitolite/cookbook#adding-your-own-update-hooks for more details.
* add myself to the podman groupFranck Cuny9 days1-1/+1
|
* fix alias for ukctxFranck Cuny9 days2-8/+12
|
* enable fish integration for direnvFranck Cuny9 days1-0/+1
|
* configure the git email correctlyFranck Cuny9 days1-3/+9
| | | | | The syntax for `hasconfig' was not correct, and as a result the wrong email was selected. I verified this one is working as expected.
* update the alias to fetch the kube configFranck Cuny9 days1-1/+2
|
* some more cleanupFranck Cuny9 days3-34/+35
|
* refactor home-managerFranck Cuny9 days8-226/+277
| | | | Only install what's needed for specific OSes.
* move gitotlite to vm-synologyFranck Cuny9 days3-1/+155
|
* run `ddns-updater' on `vm-synology'Franck Cuny10 days2-1/+22
| | | | | It has a small UI and the configuration with the secrets is managed with `agenix'.
* use agenix to manage secrets in the repositoryFranck Cuny11 days1-0/+2
|
* fix misconfiguration of the bootloaderFranck Cuny2024-12-094-5/+12
|
* move each machine into a directoryFranck Cuny2024-12-0911-12/+14
| | | | it will be easier to break down some configs.
* set hostname and correct ssh keyFranck Cuny2024-12-095-10/+17
|
* move the configuration for hetzner under machinesFranck Cuny2024-12-0811-146/+68
|
* fix conflictFranck Cuny2024-12-082-40/+2
|
* more refactoringFranck Cuny2024-12-0821-634/+116
|
* refactor overall configurationFranck Cuny2024-12-0810-0/+546
| | | | | The configuration of the various hosts and home-manager was becoming a bit complex for no valid reasons. Try to simplify this a bit.
* add shell aliases for kubectl and kubieFranck Cuny2024-12-031-0/+5
|
* install zoom on the MBA.Franck Cuny2024-12-021-0/+3
|
* install k9sFranck Cuny2024-12-021-0/+1
|
* minor tweaks related to k8sFranck Cuny2024-12-021-2/+3
|
* don't install zoomFranck Cuny2024-12-022-1/+4
| | | | | It's managed by IT, it's causing an error every time. I'll install it only on the MBA.
* update to 24.11Franck Cuny2024-12-012-2/+2
|
* remove unused fontsFranck Cuny2024-12-013-20/+1
|
* install a few more toolsFranck Cuny2024-11-291-23/+39
|
* fix what I brokeFranck Cuny2024-11-181-2/+5
| | | | | - `nix.settings.auto-optimise-store` is known to corrupt the Nix Store, please use `nix.optimise.automatic` instead. - The option definition `nix.gc.dates' in `/nix/store/vqcfrawi0yjswl7gnr73ly0k8jcyljmy-source/nix/hosts/common/nix.nix' no longer has any effect; please remove it.
* fix commentFranck Cuny2024-11-181-1/+1
|
* some tuning for nixFranck Cuny2024-11-181-2/+3
|
* more configuration for ezaFranck Cuny2024-11-182-0/+11
|
* add eza, an alternative to lsFranck Cuny2024-11-181-0/+7
|
* configuration for yt-dlpFranck Cuny2024-11-183-2/+36
|
* install a few more media toolsFranck Cuny2024-11-171-1/+3
|
* manage a few more things with nix instead of homebrewFranck Cuny2024-11-172-15/+22
|
* move machine configurations under darwin and nixosFranck Cuny2024-11-1715-62/+45
| | | | Don't manage fonts on Darwin with homebrew.
* install font dejavuFranck Cuny2024-11-081-4/+7
|
* run excalidraw in a container and make it available over httpsFranck Cuny2024-11-061-5/+27
|
* align commentFranck Cuny2024-11-051-2/+1
|
* stop displaying some messages from brewFranck Cuny2024-11-041-0/+2
|
* install mpv (mpv.io)Franck Cuny2024-11-041-0/+3
|
* formattingFranck Cuny2024-11-041-10/+2
|
* don't like this oneFranck Cuny2024-10-271-2/+0
|
* move firewall configuration to the network moduleFranck Cuny2024-10-273-25/+32
|
* this may simplify things ?Franck Cuny2024-10-271-22/+28
|
* centralize more configurations related to darwinFranck Cuny2024-10-263-22/+13
|
* fix typo for the name of the cascadia fontFranck Cuny2024-10-261-2/+2
|
* don't pin to a specific version of GoFranck Cuny2024-10-261-26/+5
| | | | Drop python packages, they will be installed as needed per projects.
* add the font cascadiaFranck Cuny2024-10-261-6/+4
|
* configure the host's name for the MBAFranck Cuny2024-10-261-3/+5
|
* automatically install updates for MacOSFranck Cuny2024-10-261-0/+1
|
* prevent webcrawler to index pagesFranck Cuny2024-10-211-1/+2
|
* add credential managerFranck Cuny2024-10-201-0/+1
|
* delete packages since they don't exist anymoreFranck Cuny2024-10-181-5/+1
|
* delete more python codeFranck Cuny2024-10-141-12/+0
|
* delete a bunch of python related stuffFranck Cuny2024-10-141-4/+0
|
* backup the repositoriesFranck Cuny2024-10-081-8/+24
|
* new ssh public key for my userFranck Cuny2024-10-081-7/+7
|
* clean up the devshell setupFranck Cuny2024-10-051-42/+37
|
* enable tmuxFranck Cuny2024-10-051-0/+21
|
* install nixos-rebuildFranck Cuny2024-09-281-0/+1
| | | | So that I can build the configuration for remote hosts
* install pandocFranck Cuny2024-09-281-0/+1
|
* update some of the fontsFranck Cuny2024-09-281-2/+3
|
* sort repositories by ageFranck Cuny2024-09-211-0/+1
|
* a few more tweaks for cgitFranck Cuny2024-09-211-4/+6
|
* let's try once againFranck Cuny2024-09-211-11/+3
|
* try to configure using the cgit moduleFranck Cuny2024-09-211-65/+31
|
* I think this is the correct configurationFranck Cuny2024-09-211-3/+3
|
* configure fcgiwrap properlyFranck Cuny2024-09-211-3/+3
| | | | This is related to https://discourse.nixos.org/t/51419
* tweak cgitrcFranck Cuny2024-09-211-1/+1
|
* add fcuny to git + sudo accessFranck Cuny2024-09-132-2/+6
|
* we need a state version now for MacosFranck Cuny2024-09-132-0/+4
|
* update deps and remove nur/firefox overlaysFranck Cuny2024-09-131-3/+1
|
* minior changes to devshell configurationFranck Cuny2024-09-131-9/+12
|
* add a TODO for wildcatFranck Cuny2024-09-131-0/+1
|
* just use the default fish setupFranck Cuny2024-09-131-36/+0
|
* watch for changes to the devshell configurationFranck Cuny2024-09-132-2/+5
|
* use default path for gitoliteFranck Cuny2024-08-051-3/+2
|
* we need configFranck Cuny2024-08-051-1/+1
|
* store gitolite data on /srvFranck Cuny2024-08-051-3/+3
|
* additional settingsFranck Cuny2024-08-051-1/+57
|
* attempt at configuring cgit and gitoliteFranck Cuny2024-08-051-0/+55
|
* fix nginx configuration for fcuny.netFranck Cuny2024-08-051-2/+2
|
* another attempt for nginx and acmeFranck Cuny2024-08-051-0/+8
|
* initial nginx configuration for fcuny.netFranck Cuny2024-08-052-0/+31
|
* set the ssh key for user fcunyFranck Cuny2024-08-053-7/+11
|
* add a new host: wildcatFranck Cuny2024-08-059-2/+111
| | | | This is a VPS on hetzner.
* add a linux VM as a new hostFranck Cuny2024-08-033-0/+55
| | | | | The linux VM runs with UTM, and it has a very basic configuration for now.
* no need to install go related packagesFranck Cuny2024-07-221-7/+0
| | | | There's no more go things in this repo
* remove commands from devenvFranck Cuny2024-07-221-44/+0
|
* bump nixos to 24.05Franck Cuny2024-07-222-2/+5
|
* clean up a bunch of home-manager stuffFranck Cuny2024-05-235-187/+1
| | | | No need for alacritty, tmux, firefox, and zsh.
* clean up python packagesFranck Cuny2024-05-061-12/+0
|
* more deletionFranck Cuny2024-05-062-5/+0
|
* move ipconverter under `src`Franck Cuny2024-05-052-2/+0
|
* move seqstatFranck Cuny2024-05-042-7/+0
|
* move the slocalc under `src`Franck Cuny2024-05-042-4/+1
|
* don't install the script for pizzaFranck Cuny2024-05-042-2/+0
|
* ensure we install coreutilFranck Cuny2024-05-041-0/+1
|
* more tweaksFranck Cuny2024-05-031-2/+2
|
* tmux stuffFranck Cuny2024-05-021-0/+4
|
* drop zshFranck Cuny2024-05-026-10/+5
|
* i dont knowFranck Cuny2024-05-021-0/+1
|
* install and configure tmux for alacrittyFranck Cuny2024-05-022-21/+43
|
* configure fish and install alacrittyFranck Cuny2024-05-012-0/+49
|
* enable ruffFranck Cuny2024-04-291-0/+1
|
* add `robloxenv` to manage hashi credentialsFranck Cuny2024-04-293-3/+8
| | | | | I never know how to get the credentials for some hashi components. This script helps with getting the credentials I need at the edge.
* ignore all of github.rbx.comFranck Cuny2024-04-291-1/+1
|
* add a script to fetch cheeseboard's menuFranck Cuny2024-04-283-4/+10
| | | | Delete the version in go.
* install required python packages for ruff-lspFranck Cuny2024-04-231-0/+3
|
* install and configure aspellFranck Cuny2024-04-231-1/+13
|
* install aspellFranck Cuny2024-04-221-0/+6
|
* switch to fish as the default shellFranck Cuny2024-04-195-2/+20
|
* move the `slocalc` to a python scriptFranck Cuny2024-04-162-1/+4
|
* install nomad packFranck Cuny2024-04-151-0/+1
|
* add and remove some packagesFranck Cuny2024-04-152-3/+4
|
* fix a typo and update 1password configFranck Cuny2024-03-121-1/+3
|
* installing vscode through nix does not work well for meFranck Cuny2024-03-121-109/+0
|
* switch to absolute pathFranck Cuny2024-03-116-5/+120
|
* reorganize common files for hostsFranck Cuny2024-03-111-2/+3
| | | | Move the common configuration for nix to its own file.
* share configuration for shell utilsFranck Cuny2024-03-075-80/+66
|
* install seqstat on the work profileFranck Cuny2024-03-061-1/+3
|
* enable copilot for vscodeFranck Cuny2024-03-061-0/+2
|
* rename `tools` to `packages` to follow conventionFranck Cuny2024-03-061-1/+1
| | | | | | The convention is to use `pkgs` or `packages` for overlays and definition of custom packages. Since I'm already using `pkg` for go, I prefer to use `packages` for my scripts.
* set correct git email in the profilesFranck Cuny2024-03-063-1/+8
|
* use absolute path by using `$self`Franck Cuny2024-03-061-2/+2
|
* install my own scriptsFranck Cuny2024-03-063-3/+20
| | | | | | This is the first step to re-enable installing custom scripts. The next step will be to rename `tools` to `packages`, and then if needed I will be able to support overlays.
* add configuration for my work machineFranck Cuny2024-03-045-6/+91
|
* don't sign git commitsFranck Cuny2024-03-041-17/+1
| | | | Simplify the configuration as this is not something I currently use.
* move all home-manager settings under the profilesFranck Cuny2024-03-046-5/+414
|
* create profiles for home-managerFranck Cuny2024-03-041-0/+45
| | | | | | | | | 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.
* common macos preferences are moved to a moduleFranck Cuny2024-03-041-0/+1
|
* extract shared code for darwin to a new moduleFranck Cuny2024-03-041-0/+1
|
* nix libraries and modules will be under `nix/`Franck Cuny2024-03-042-0/+131
|
* delete even more unused configurationsFranck Cuny2023-12-093-78/+0
|
* remove custom toolsFranck Cuny2023-08-212-2/+0
|
* add x509-info back to the list of toolsFranck Cuny2023-07-051-0/+1
|
* modules/wireguard: move the module to the right locationFranck Cuny2023-05-082-45/+1
|
* module for homelabFranck Cuny2023-05-081-0/+1
|
* home: get rid of mail / gpg modulesFranck Cuny2023-05-071-1/+0
| | | | I don't use GPG anymore and I don't read mail in Emacs anymore.
* hosts/carmel: reconfigure the host as a routerFranck Cuny2023-04-031-1/+1
| | | | | | | | | | | | I'm not using it as a desktop, and the current router is getting old and will likely fail in the near future. It's also a debian machine configured manually, so let's reconfigure carmel as our new router. There are three NICs in the host: 2 are 10Gb and one is 1Gb. The 1Gb will be used as the upstream interface, and one of the 10Gb will be for the LAN. There are 2 VLANs to configure: one for IoT devices and one for guest.
* modules/sendsms: gate the unit with a fileFranck Cuny2023-03-271-0/+1
| | | | | | | | | | To prevent the unit to be triggered multiple times if the host has already rebooted, we create a gate file when we're done running, and before running, we check if the file exists. Enable the service on tahoe. Don't restart the unit when its definition has changed.
* secrets: use homeage to manage secrets for home-managerFranck Cuny2023-03-111-0/+8
| | | | | | | | | | | | | 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.
* ref: don't use my custom tools for nowFranck Cuny2023-03-042-4/+0
| | | | I'm rewriting them in go and they are not ready to be used yet.
* feat(home/packages): add tool masked-emailsFranck Cuny2023-01-071-0/+1
|
* feat: update to nix 22.11Franck Cuny2023-01-031-8/+12
|
* feat(modules/sensdms): a module to send an SMSFranck Cuny2022-11-301-0/+1
| | | | | | A new module `sendsms` is added to send SMS when the host reboots. It's triggered by systemd when the host boots and once the network is available.
* feat(home/packages): install the tool x509-infoFranck Cuny2022-10-221-0/+1
|
* feat(home/packages): install gh-ssh-keysFranck Cuny2022-10-031-0/+1
| | | | Add a new input to the flake configuration to install `gh-ssh-keys`.
* feat(naersk): use naersk to build packages with rustFranck Cuny2022-09-262-7/+15
| | | | | | | | | | | | | 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.
* ref(home-manager): don't use home-manager when building the hostFranck Cuny2022-09-224-39/+32
| | | | | | | | | | | | | | | | | | | 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
* ref(flake): move all the checks to external moduleFranck Cuny2022-09-181-0/+31
| | | | | This improve the readability of the flake configuration, the check can be in their own module.
* ref(flake): drop naersk for nowFranck Cuny2022-09-181-1/+0
| | | | | I'll go and refactor correctly and properly the support for rust packages, this is not working and I'm doing something stupid.
* feat(flake): use naersk to build rust projectsFranck Cuny2022-09-071-0/+1
| | | | | | The flake naersk is used to build rust crates with nix. Change-Id: Ia1c95de34fe802ae6a6b623dc169ca502fa72f12
* feat(rust): add an overlay to install rustFranck Cuny2022-08-221-0/+1
| | | | | | | | 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
* ref(tools): simplify the import of toolsFranck Cuny2022-08-061-5/+1
| | | | | | | | | | | In the `mkSystem` function, instead of defining each tools, let's import all of them at once. This works both with installing a tool from a module or running them from the CLI. Change-Id: Ia44ff9a45b54a1ecea6f6b02b4cad2956799f627 Reviewed-on: https://cl.fcuny.net/c/world/+/682 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(tools/git-blame-stats): add the tool to nix configurationFranck Cuny2022-06-181-0/+1
| | | | | | | Change-Id: Iea045c74a32dc26b9a39da79f49308a85ec237cc Reviewed-on: https://cl.fcuny.net/c/world/+/446 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(ipconverter): add the tool to nixFranck Cuny2022-06-181-1/+4
| | | | | | | Change-Id: Ie98ad07ac4de61fc25f9a9821fb5617d12ea5f70 Reviewed-on: https://cl.fcuny.net/c/world/+/442 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(fmt): correct formatting for all nix filesFranck Cuny2022-06-102-13/+17
| | | | | | | | | 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>
* ref(nix): move the mkSystem function to its own fileFranck Cuny2022-06-092-35/+28
| | | | | | | | Make the default system be x86-linux. Change-Id: I13e00e4d4cb8b7c49cc549509e37a6d0f022a051 Reviewed-on: https://cl.fcuny.net/c/world/+/299 Reviewed-by: Franck Cuny <franck@fcuny.net>
* ref(nix): rename lib/ to nix/Franck Cuny2022-06-092-0/+80
Change-Id: If1e608b89b39bd5a53a37b873833a7ea881cb418 Reviewed-on: https://cl.fcuny.net/c/world/+/298 Reviewed-by: Franck Cuny <franck@fcuny.net>