Commit graph

63 commits

Author SHA1 Message Date
Bruno BELANYI a93dc2935b flake: add explicit 'systems' input 2024-01-03 14:25:20 +00:00
Bruno BELANYI d60e26c617 flake: bump inputs
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-05-12 10:10:33 +00:00
Bruno BELANYI bd6b7ca9e2 flake: do not use explicit inputs
This ends up being more annoying than useful most of the time anyway...

Make a note that we can't just eta-reduce the outputs, due to a nix
limitation on flake outputs (see [1]).

[1]: https://github.com/NixOS/nix/issues/4384
2023-05-03 15:15:31 +00:00
Bruno BELANYI f935126312 flake: bump inputs 2023-04-17 21:22:10 +02:00
Bruno BELANYI 92438d35f6 flake: add 'flake-parts' 2023-03-20 09:52:05 +00:00
Bruno BELANYI 9f6a9d2ff7 flake: move ouputs logic to 'flake/' 2023-03-08 14:37:37 +00:00
Bruno BELANYI d14f96d584 flake: move 'nixosConfigurations' to 'flake/'
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-07 12:34:46 +00:00
Bruno BELANYI 40fff4b13a flake: move 'packages' to 'flake/' 2023-03-07 12:34:46 +00:00
Bruno BELANYI 1ae2bca445 flake: move 'devShells' to 'flake/' 2023-03-07 12:34:46 +00:00
Bruno BELANYI fc02519c4f flake: move 'checks' to 'flake/' 2023-03-07 12:34:46 +00:00
Bruno BELANYI 90d1d81983 flake: move 'lib' to 'flake/' 2023-03-07 12:34:46 +00:00
Bruno BELANYI 819ce1a320 flake: move 'overlays' to 'flake/' 2023-03-07 12:34:46 +00:00
Bruno BELANYI b9083244ed flake: add 'aarch64-darwin' again
I don't get an error during `nix flake check` anymore.

This reverts commit 8a556585af.
2023-03-07 12:34:46 +00:00
Bruno BELANYI 3ed5e40285 flake: expose 'lib' attribute
This exposes `lib.my` which contains my custom library functions, as
well as the entirety of the nixpkgs library.
2023-03-07 11:05:07 +00:00
Bruno BELANYI 2a7e6197f5 flake: system-specific 'homeConfigurations' 2023-03-07 11:05:07 +00:00
Bruno BELANYI 737747f8f5 flake: add 'homeConfigurations.ambroisie'
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-21 17:53:09 +00:00
Bruno BELANYI 2a26f65a51 flake: futils has renamed its branch to 'main' 2023-02-08 21:05:52 +00:00
Bruno BELANYI 072511a091 flake: bump inputs
And reduce the closure size of 'pre-commit-hooks.nix' by making it
follow my 'nixpkgs' input.
2022-11-28 10:17:37 +01:00
Bruno BELANYI 8a556585af flake: remove 'aarch64-darwin'
'pyopenssl' has been marked as broken on this sytem, so remove it from
my supported systems to avoid breaking 'nix flake check'.
2022-06-22 16:05:28 +02:00
Bruno BELANYI c3706ff537 flake: bump inputs 2022-06-22 16:04:01 +02:00
Bruno BELANYI e35a4a1bd3 flake: use new default app convention 2022-05-31 13:41:49 +02:00
Bruno BELANYI 223f09b655 flake: update from deprecated flake attributes 2022-04-18 14:11:46 +02:00
Bruno BELANYI e3f021e832 flake: only use subset of systems
Turns out pre-commit pulls dotnet in its closure, which is not supported
on i686...
2022-04-12 10:45:04 +02:00
Bruno BELANYI de54779775 flake: agenix has renamed its branch to 'main' 2021-11-23 17:08:46 +01:00
Bruno BELANYI e295a60cf5 flake: enable shellcheck pre-commit hook 2021-11-12 09:42:39 +01:00
Bruno BELANYI a5fe7a41e6 flake: remove gnupg from devShell 2021-11-03 14:10:18 +01:00
Bruno BELANYI 4f558a1ebd flake: use 'recurseIntoAttrs' in 'pkgs' overlay 2021-10-08 15:00:46 +02:00
Bruno BELANYI 0b580b61e7 secrets: move into 'modules' 2021-09-26 23:09:33 +02:00
Bruno BELANYI 172e29db69 flake: remove 'git-crypt' 2021-09-26 23:09:33 +02:00
Bruno BELANYI 7273f2102a flake: add 'agenix' 2021-09-25 13:30:51 +02:00
Bruno BELANYI 4521cba5f0 flake: use 'nativeBuildInputs' 2021-09-01 14:51:27 +02:00
Bruno BELANYI 2bfbda9942 flake: flatten and filter packages w/ flake-utils
Instead of my home-grown solution, use one that has been upstreamed.
2021-07-14 21:49:31 +02:00
Bruno BELANYI 85ff634331 modules: move home configuration from flake 2021-06-25 20:46:36 +02:00
Bruno BELANYI 76cac9af51 modules: change username configuration option
It makes more sense to have a `my.user` option.
2021-06-25 20:45:36 +02:00
Bruno BELANYI aec2e08062 flake: filter 'packages' on system 2021-06-12 19:56:17 +02:00
Bruno BELANYI 1699382e4e flake: add pre-commit-hooks
Instead of havin the tool manage versions, use a pinned version.
2021-05-31 23:04:08 +02:00
Bruno BELANYI 21fa1ccdac flake: change format 2021-05-31 23:02:32 +02:00
Bruno BELANYI ba15ad9674 flake: use 'username' config value 2021-05-30 01:20:14 +02:00
Bruno BELANYI 9b568beb9a modules: move 'services' into subfolder 2021-05-29 16:56:15 +02:00
Bruno BELANYI 6b50f906fa flake: inject 'inputs' into NixOS configuration 2021-05-22 23:47:27 +02:00
Bruno BELANYI d2c9b72eb6 flake: add profiles folder
This will be used for configurations that either consolidates multiple options
that make sens to use together, or span accross system and home configuration.
2021-05-16 00:03:59 +02:00
Bruno BELANYI 96c9b1b57d flake: add overlays folder 2021-05-10 00:31:01 +02:00
Bruno BELANYI 63791a98a4 machines: add aramis 2021-05-08 17:14:13 +02:00
Bruno BELANYI 825e09f59e flake: refactor handling of shared modules 2021-05-08 17:14:13 +02:00
Bruno BELANYI 0ec56784e9 flake: use explicit input format
And reorder the inputs to be in alphabetical order, because that is
always neater :-).
2021-05-08 17:14:13 +02:00
Bruno BELANYI 37a134ebd2 flake: add 'diff-flake' to 'apps' and 'defaultApp'
That way I can just run `nix flake update`, commit, and `nix run` to get
a list of updates.
2021-05-08 17:14:13 +02:00
Bruno BELANYI 9612258118 flake: do not throw on dirty tree
This is mostly inconvenient, I have enough discipline not to need it
anymore.
2021-04-25 12:39:17 +00:00
Bruno BELANYI 89ea720bff flake: expose custom packages as output 2021-04-25 12:39:17 +00:00
Bruno BELANYI edb9c46106 flake: introduce 'pkgs' overlay
Also make it the prime overlay instead of the extended 'lib'.

The reason for `pkgs` not being structured as an overlay, but simply
taking `pkgs` as an argument is to allow it to be used as a NUR package
set, if I wanted to.
2021-04-25 12:39:17 +00:00
Bruno BELANYI 6bf6d21392 flake: inject extended 'lib' into NixOS config
Somehow it works just fine in my `home-manager` configuration, I assume it is
using the system `nixpkgs` and its `lib` attribute that I extended. Whereas the
NixOS system must be injected with the extended one intentionally.
2021-04-17 11:41:19 +00:00