about summary refs log tree commit diff
path: root/flake.nix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(ipconverter): add the tool to nixFranck Cuny2022-06-181-0/+1
| | | | | | | Change-Id: Ie98ad07ac4de61fc25f9a9821fb5617d12ea5f70 Reviewed-on: https://cl.fcuny.net/c/world/+/442 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* ci(default): add `apps.ci.shellcheck` to flake.nixFranck Cuny2022-06-101-2/+5
| | | | | | | | | | | | I can now run `nix run .#ci.shellcheck` to validate the shell scripts with shellcheck in the repository. The pipeline in buildKite will need to be updated. Change-Id: Ia52ede86adfa58c9615b0f9e290ef5d5b8adb303 Reviewed-on: https://cl.fcuny.net/c/world/+/409 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(flake): install nixpkgs-fmt by defaultFranck Cuny2022-06-101-0/+1
| | | | | | | Change-Id: Ifc199c19e80f0c4f6beb5d04d981580c8edaadf6 Reviewed-on: https://cl.fcuny.net/c/world/+/405 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* ci(fmt): add a script to check the formattingFranck Cuny2022-06-101-2/+7
| | | | | | | | | | | | | | | | Add a script for CI to check that all the files are formatted correctly. This is done by using `treefmt' with a configuration for go and nix files (for now). Running `nix run .#ci.fmt' in the repository will check all the files, and fail if there's any problems. It will not modify any files. The pipeline in builKite needs to be updated to run that command. Change-Id: Iec91163f1ab56ceb0cfff6db8f8ce93367ebeefe Reviewed-on: https://cl.fcuny.net/c/world/+/403 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* fix(fmt): correct formatting for all nix filesFranck Cuny2022-06-101-1/+2
| | | | | | | | | 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-2/+2
| | | | | | | | | | | | | 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>
* ref(nix): move the mkSystem function to its own fileFranck Cuny2022-06-091-12/+3
| | | | | | | | 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-091-1/+1
| | | | | | Change-Id: If1e608b89b39bd5a53a37b873833a7ea881cb418 Reviewed-on: https://cl.fcuny.net/c/world/+/298 Reviewed-by: Franck Cuny <franck@fcuny.net>
* meta: remove pre-commit checksFranck Cuny2022-05-301-10/+0
| | | | | | | | This is not working as I want. Change-Id: I5c2a96c77585b84fb68bcd661773a3056a0288f4 Reviewed-on: https://cl.fcuny.net/c/world/+/170 Reviewed-by: Franck Cuny <franck@fcuny.net>
* tools(govanity): add the tool to flake.nixFranck Cuny2022-05-291-1/+4
| | | | Change-Id: Ib2792fa8c3f861d290f2495a10672cdfd11c48d9
* ref(dnsupdate): move under toolsFranck Cuny2022-05-251-7/+1
| | | | | | | | | Integrate properly the tool `dnsupdate` with flake.nix, by adding a default.nix inside its directory. Having all the tools under a directory named `tools` is easier to reason about. I don't need a go.mod at the top level directory either, each tool will have its own.
* ref(notes): drop flake.nixFranck Cuny2022-05-251-0/+1
| | | | | | | There's no need to have a flake.nix for the notes, we can use the same mechanism as for the blog and resume. Add a README so I remember how to use this in the future.
* ref(resume): remove flake.nixFranck Cuny2022-05-251-1/+4
| | | | | | | Integrate the resume with the rest of the repository, as I did for the blog in the previous commit. Added a script to copy the resume in the static directory of the blog.
* ref(blog): drop the flake configurationFranck Cuny2022-05-251-0/+2
| | | | | | There's no need to have multiple `flake.nix` in the repository. Make the blog part of the flake configuration at the root level of the repository, delete the one in the blog, and update the documentation.
* nix: add a command `dnsupdate` to update the DNSFranck Cuny2022-05-071-1/+13
| | | | | Running `nix run .#dnsupdate` will execute the program to ensure the configuration is correct.
* flake: add checksFranck Cuny2022-04-131-0/+12
| | | | This is not working great so far.
* remove `mkHome` from libFranck Cuny2022-04-091-22/+0
| | | | | home-manager configuration is used as a module, we don't have two different ways to configure the host anymore.
* home-manager: add `isTrusted`Franck Cuny2022-04-031-0/+2
| | | | | | | | | | Install and configure some programs only on trusted machines. On trusted machines, my mails, GPG and a few other things are configured. A machine where this is not needed on a regular basis to get things done don't need that much information. Also rename `desktop/trust` to `trusted`, in case we want these packages on a host that is not a desktop, and `trusted` is a better description.
* rename `desktop` to `isDesktop`Franck Cuny2022-04-031-2/+2
| | | | | | | | The variable is used to define the kind of machine we're managing. `isDesktop` is a bit more descriptive. We import `devel` for all machines, and we fine tune which packages we want to install based on the value of `isDesktop`.
* remove mytoolsFranck Cuny2022-04-031-7/+0
| | | | I don't need this for now, as I've replace music-organizer with beets.
* nas: install music-organizer from the main branchFranck Cuny2022-03-271-1/+1
|
* nas: install music-organizerFranck Cuny2022-03-271-5/+16
|
* flake: add new overlay: NURFranck Cuny2022-02-271-0/+2
| | | | NUR is the nux user repository, which provides additional packages.
* hosts: add tahoe, the new NASFranck Cuny2022-02-271-0/+9
|
* agenix: add flake for agenixFranck Cuny2022-02-211-0/+5
| | | | This will be used to store secrets in the repository.
* hosts: add aptosFranck Cuny2022-02-211-0/+10
| | | | | aptos is my laptop (dell xps 13'). This adds the initial configuration for it.
* emacs: pull community's overlayFranck Cuny2022-02-131-0/+2
| | | | We need the community overlay to get the pure GTK port of Emacs for now.
* fix a few errorsFranck Cuny2022-02-101-1/+0
|
* nix: fix a bunch of stuffFranck Cuny2022-02-101-2/+5
|
* home-manager: split the configurationFranck Cuny2022-02-101-16/+31
|
* home-manager: simplify the configurationFranck Cuny2022-02-091-4/+1
| | | | | | | | | | | | | I'm still struggling with documentation, and I'd rather have something simple that works rather than smart and does not work. The configuration for the host imports the modules that are relevant to that host (in the case of carmel, desktop and systems). For the home-manager, I create a profile "desktop" that contains stuff related to a desktop (i3, etc), and it includes the module "common" that contains stuff that I want on any machines (so that in the future, for a machine that is a server, the home manager will only import "common").
* i3: separate configuration for xserver and i3Franck Cuny2022-02-081-5/+1
| | | | | Let's first configure the xserver in the desktop module, then we can have a configuration for i3 in the home-manager.
* home-manager: fix initial configurationFranck Cuny2022-02-081-0/+9
| | | | | This configuration is working, and I'm still unclear of how this is supposed to be done correctly. Might need to iterate a few more times.
* carmel: apply systems and desktop modulesFranck Cuny2022-02-081-0/+2
|
* flake: pull home-manager and unstableFranck Cuny2022-02-071-1/+10
|
* flake: install my user on carmelFranck Cuny2022-02-071-0/+1
|
* carmel: initial host configurationFranck Cuny2022-02-071-0/+21
Initial configuration for the desktop (carmel).