Commit graph

38 commits

Author SHA1 Message Date
Bruno BELANYI 40ec169d6e flake: remove gnupg from devShell
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-03 14:10:18 +01:00
Bruno BELANYI 76f33fbd57 flake: use 'recurseIntoAttrs' in 'pkgs' overlay 2021-10-08 15:00:46 +02:00
Bruno BELANYI fec4956063 secrets: move into 'modules' 2021-09-26 23:09:33 +02:00
Bruno BELANYI de92358bc0 flake: remove 'git-crypt' 2021-09-26 23:09:33 +02:00
Bruno BELANYI 1e3c633c72 flake: add 'agenix' 2021-09-25 13:30:51 +02:00
Bruno BELANYI c8633abf6d flake: use 'nativeBuildInputs' 2021-09-01 14:51:27 +02:00
Bruno BELANYI a3293277d9 flake: flatten and filter packages w/ flake-utils
All checks were successful
continuous-integration/drone/push Build is passing
Instead of my home-grown solution, use one that has been upstreamed.
2021-07-14 21:49:31 +02:00
Bruno BELANYI 7a382368e8 modules: move home configuration from flake 2021-06-25 20:46:36 +02:00
Bruno BELANYI 0f17123d09 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 cd1173d2f6 flake: filter 'packages' on system 2021-06-12 19:56:17 +02:00
Bruno BELANYI 59cb038045 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 15db81eb3b flake: change format 2021-05-31 23:02:32 +02:00
Bruno BELANYI 4f1f687eea flake: use 'username' config value 2021-05-30 01:20:14 +02:00
Bruno BELANYI d2704b17fe modules: move 'services' into subfolder 2021-05-29 16:56:15 +02:00
Bruno BELANYI e4d8a4d4b2 flake: inject 'inputs' into NixOS configuration 2021-05-22 23:47:27 +02:00
Bruno BELANYI 0c943d8430 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 3887a86650 flake: add overlays folder 2021-05-10 00:31:01 +02:00
Bruno BELANYI 6acf9f4a19 machines: add aramis 2021-05-08 17:14:13 +02:00
Bruno BELANYI f634f1b2ed 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
Bruno BELANYI 65d90dfc2c flake: add 'git-crypt' and 'gnupg' to devShell 2021-03-31 17:56:36 +00:00
Bruno BELANYI 331b7cf8e3 lib: create 'my' extensions
Inspired by this [1] repo, I want to add some functions to `lib.my`. I
would have liked to make it work without having to use an overlay, but I
did not manage to do it...

[1]: https://github.com/hlissner/dotfiles
2021-03-14 12:18:09 +00:00
Bruno BELANYI 11b25a0e0e flake: use 'lib' directly because we can 2021-03-12 22:37:59 +00:00
Bruno BELANYI e062cbe45d flake: remove unused 'pkgs' attribute 2021-03-08 18:59:08 +00:00
Bruno BELANYI d03b58b414 flake: add system agnostic devShell w/ flake-utils 2021-03-08 18:53:32 +00:00
Bruno BELANYI 782c03d600 flake: fix typo 2021-03-07 18:39:42 +00:00
Bruno BELANYI 21d7604861 flake: refactor to differentiate common modules 2021-03-07 18:39:42 +00:00
Bruno BELANYI c0feb8a462 flake: add home-manager 2021-03-03 17:02:48 +00:00
Bruno BELANYI 8d3d3521f3 flake: refactor host configuration 2021-03-03 17:02:48 +00:00
Bruno BELANYI 3b148ad684 porthos: split into modules
I have separated the modules into host-specific settings, and generic
settings that ought to be shared by every host.

I only have the 'porthos' host for now, but intend to also add my laptop
'aramis' at some point to this repository.
2021-02-08 10:49:59 +00:00
Bruno BELANYI 4d68a706a3 flake: add NUR overlay 2021-02-08 10:49:59 +00:00
Bruno BELANYI 49779cac21 flake: switch to unstable nixpkgs 2021-02-08 10:49:59 +00:00
Bruno BELANYI 34548c28ec flake: init configuration 2021-02-08 10:49:59 +00:00