1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-23 16:11:51 +03:00
Commit Graph

35 Commits

Author SHA1 Message Date
Matt Schreiber
61828b5075 fix: module args of home-manager portable configs
Type-check such configs as modules ("moduleType") rather than as
functions evaluating to attribute sets ("functionTo attrs").  This
ensures that they get invoked with all expected module arguments
("pkgs", "lib", etc.).

Update ./examples/hmOnly so that the testuser config references the pkgs
module arg, thus testing that the switch to moduleType works as
intended.

Closes #119
2022-02-23 15:23:14 -08:00
Parthiv Seetharaman
be4826d0b6 update downstream example/test 2022-02-23 15:23:14 -08:00
David Arnold
8c7118298d test: fix downstream to compatible synthetic commit
- downstream used `patchedNix`.
- fix hm compatibility
2022-02-23 15:23:14 -08:00
teutat3s
b824eb5e5d examples: fix digga path 2022-02-23 15:23:14 -08:00
teutat3s
d168926296 Switch to release-21.11 2022-02-23 15:23:14 -08:00
teutat3s
9912ccb23a chore: bump downstream example 2022-02-23 15:23:14 -08:00
GTrunSec
32b446f41f chore: bumpup deploy-rs 2022-02-23 15:23:14 -08:00
GTrunSec
305a296dcf chore: fmt 2022-02-23 15:23:14 -08:00
Parthiv Seetharaman
0014c5d509 rename current modules -> exportedModules
and externalModules -> modules
2022-02-23 15:23:14 -08:00
David Arnold
6267d6abf9 imp: remove default application of profileTests
now that we have per-host custom tests, it does not make sense anymore
to have magic lumpsum tests.

users are encouraged to use the new digga.lib.allProfilesTest standard
test and add it to a host's test like so:

`nixos.<host>.tests = [ digga.lib.allPrefilesTest ];`
2022-02-23 15:23:14 -08:00
David Arnold
a4f30d1c54 bump: some things, but not all (hehehehe) - find out why? 2022-02-23 15:23:14 -08:00
David Arnold
fa15264d48 fix: example / tests 2022-02-23 15:23:14 -08:00
David Arnold
7527aeea89 bump: dowstream test 2022-02-23 15:23:14 -08:00
David Arnold
285f879014 bump: downstream for tests 2022-02-23 15:23:14 -08:00
David Arnold
cb79b839c5 bump: downstream for tests 2022-02-23 15:23:14 -08:00
David Arnold
cd8a40c682 fix: remove deprecated accessors in examples 2022-02-23 15:23:14 -08:00
David Arnold
0c266bafdf ref: adapt to fup upstream refactoring 2022-02-23 15:23:14 -08:00
David Arnold
14e36e1133 fix: add inputs back to arguments
Accessing inputs via self seems to be illegal in certain cirumstances
and produces an infinite recursion.
2022-02-23 15:23:14 -08:00
David Arnold
0cea9fecfb bump: devos to tip of correspondence PR 2022-02-23 15:23:14 -08:00
David Arnold
7587f4700e fmt 2022-02-23 15:23:14 -08:00
David Arnold
ea183d97fd ref: overlays.patched -> overlays.patchedNix 2022-02-23 15:23:14 -08:00
David Arnold
78e198103a bump: devos for testing 2022-02-23 15:23:14 -08:00
David Arnold
d64f95fb28 test: add hm only config 2022-02-23 15:23:14 -08:00
David Arnold
a3b2207f22 bump: devos for testing 2022-02-23 15:23:14 -08:00
David Arnold
905b26bcb8 zoink: surface regression
In this changeset, the `self` module argument is not actually passed.

Upstream nixpkgs, for unknown reasons does not fail with the usual
error message, presumably becuase this is sumoduleWith type, but instead
bails with an inifinite recursion.
2022-02-23 15:23:14 -08:00
David Arnold
c7224726ef bump: downstream for tests 2022-02-23 15:23:14 -08:00
David Arnold
6954bdde5f bump downstream to working tip for tests 2022-02-23 15:23:14 -08:00
David Arnold
33474e6ffa imp: pass down self to grouped folder layout
pass `self` to top level imports in the style of
`./examples/groupByConfig`
2022-02-23 15:23:14 -08:00
David Arnold
acff396977 examples/downstream: use latest digga/develop 2022-02-23 15:23:14 -08:00
David Arnold
67df251929 ref: add proper downstream testing 2022-02-23 15:23:14 -08:00
David Arnold
defb97a834 fmt 2022-02-23 15:23:14 -08:00
David Arnold
3d0dfa9797 fix classicalDevos example 2022-02-23 15:23:14 -08:00
David Arnold
e5ab98071d add groupByConfig example 2022-02-23 15:23:14 -08:00
David Arnold
e6c3497e79 mv fullFlake -> example 2022-02-23 15:23:14 -08:00
Parthiv Seetharaman
46fe74647e tree: move everything into examples/devos 2022-02-23 15:21:28 -08:00