Commit graph

32 commits

Author SHA1 Message Date
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
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