about summary refs log tree commit diff
path: root/nix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>