Chris Montgomery
ea2417d68b
devos:devshell: exclude deploy-rs on darwin
2022-07-09 12:51:35 -04:00
Chris Montgomery
446538f029
chore: update inputs to track 22.05 release channels
2022-07-09 11:15:39 -04:00
Chris Montgomery
580fc57ffa
chore: restore examples digga input branch to main
2022-04-27 20:21:50 -04:00
Chris Montgomery
e6b14d39d6
devos: override nix-index
pkg with latest
...
the version in the 21.11 channel is old and doesn't include support for
`aarch64-darwin`. this version does.
2022-04-27 19:52:39 -04:00
Chris Montgomery
64bd6388fc
darwin: standardize nix-darwin input and nixpkgs-darwin-stable usages
...
https://github.com/LnL7/nix-darwin/pull/429 was merged recently,
providing the top-level `lib` option
2022-04-27 19:20:09 -04:00
Chris Montgomery
89d9b3ea97
devos: move common overlays to sharedOverlays
for fup passthrough
2022-04-24 12:44:21 -04:00
Chris Montgomery
8232e94cb4
chore: docs + formatting
2022-04-24 12:44:15 -04:00
Chris Montgomery
41a49ae3a7
devos: darwin-specific profile customizations
2022-04-24 12:43:55 -04:00
Chris Montgomery
b4f74f5ea0
darwin: avoid checking unsupported flake outputs
2022-04-24 12:43:54 -04:00
Chris Montgomery
4438b0f111
devos: devshell: reorder + cleanup
2022-04-24 12:27:29 -04:00
Chris Montgomery
780620d865
devos: devshell: use platform checks from stdenv
2022-04-24 12:27:28 -04:00
Chris Montgomery
68ade1816c
devos: devshell: add required pkgs to scope explicitly
...
the `with pkgs` statement in `commands` muddies the origin of the
variables used within:
- editors are unable to provide helpful advice about undefined variables
because `with pkgs` acts as a blanket "anything is possible" signifier
- at a cursory glance, it may not be immediately clear that `system` is
coming from `pkgs.system`
- `lib` is coming from `pkgs.lib`, but we can use the `lib` module arg.
- some pkgs within `commands` are still referenced with
`pkgs.<package-name>` unnecessarily
2022-04-24 12:27:27 -04:00
Chris Montgomery
b8d1c7d849
darwin: update mkDeployNodes
to account for darwin hosts
2022-04-24 12:27:26 -04:00
Chris Montgomery
1246668e55
devos: add a darwin host + separate os-specific configs
2022-04-24 12:27:23 -04:00
Chris Montgomery
fbfcbd81b5
docs: comments and formatting
2022-04-24 12:27:23 -04:00
Chris Montgomery
a304ae0838
groupByConfig: add darwin host
2022-04-24 12:27:21 -04:00
Parthiv Seetharaman
9ffc49fed7
Use nixos-* not release-*
2022-04-05 11:56:20 -07:00
Parthiv Seetharaman
b5fac9c7fc
examples/devos: remove bud get
2022-04-04 21:43:46 -05:00
Parthiv Seetharaman
51d8ca3fe0
Remove customBuilds, nixos-generate has --flake
2022-04-01 15:52:56 -07:00
Parthiv Seetharaman
ef92bc3c73
Merge devos docs and README into top-level
2022-02-26 12:20:58 -08:00
Parthiv Seetharaman
a792cf9935
export devos template in digga
2022-02-23 18:57:22 -08:00
Parthiv Seetharaman
38b73dddd2
examples/downstream -> examples/devos
...
no need for submodules either
2022-02-23 16:08:11 -08:00
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