Chris Montgomery
b8d1c7d849
darwin: update mkDeployNodes
to account for darwin hosts
2022-04-24 12:27:26 -04:00
Chris Montgomery
1aa990d2f9
chore: clean up unnecessary args to deprecated.nix
...
`nixosModules` and `internal-modules` could cause unwanted builds on darwin.
2022-04-24 12:27:25 -04:00
Chris Montgomery
ab39edf087
devshell: use nix 2.7 from unstable channel
2022-04-24 12:27:24 -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
0fede41810
feat: pass fup's mergeAny
through lib output
2022-04-24 12:27:22 -04:00
Chris Montgomery
a304ae0838
groupByConfig: add darwin host
2022-04-24 12:27:21 -04:00
Chris Montgomery
d506813d6a
mkFlake: require unique hostnames across nixos and darwin hosts
...
while this could be considered a change in digga's api, flake-utils-plus
wouldn't allow duplicate hostnames either, because its `hosts` option
does not separate nixos or darwin hosts -- both live at `hosts.<hostname>`.
2022-04-24 12:26:39 -04:00
Chris Montgomery
dec17c20e1
refactor: isolate exported modules to host-type-specific files
...
darwin should not export a `bootstrapIso` module, for example, because
this requires building unsupported packages.
2022-04-24 12:25:47 -04:00
Chris Montgomery
2de29e5dee
fix: check for domain
attr before use
...
`networking.domain` is not declared in nix-darwin.
2022-04-24 12:25:46 -04:00
Chris Montgomery
223920bf00
darwin: relocate nixos-only defs out of globalDefaults
module
...
most of the `globalDefaults` module's definitions are not present in
nix-darwin, so they need to move into nixos-specific modules.
at this time, darwin does not yet have its own host-type-specific
defaults module, but there are probably some defs worth adding to such a
module.
2022-04-24 12:25:45 -04:00
Chris Montgomery
1c977a3cb5
refactor: prepare host configs in fup adapter
2022-04-24 12:25:44 -04:00
Chris Montgomery
251395e7bd
darwin: add top-level option for darwin
host type
2022-04-24 12:25:42 -04:00
Chris Montgomery
55f1ffa6ea
darwin: agnostic arg name for mkHomeConfigurations
2022-04-24 12:25:41 -04:00
Chris Montgomery
93df57f71f
docs: reword overlays doc to work better with syntax highlighting
...
the existing string:
```
''\${inputs}`
```
causes issues with syntax highlighting in emacs nix-mode
2022-04-24 12:25:40 -04:00
Chris Montgomery
eceb5335cc
docs: add commands to generate darwin api docs
2022-04-24 12:25:39 -04:00
Chris Montgomery
f980b600dd
devshell: pin devshell.inputs.nixpkgs
to ours
2022-04-24 12:25:38 -04:00
Chris Montgomery
7ad166f414
inputs: avoid pinning nixpkgs to latest
unless absolutely necessary
2022-04-24 12:25:37 -04:00
Chris Montgomery
7b0cff82bd
inputs: add nixpkgs-unstable
2022-04-24 12:25:36 -04:00
Chris Montgomery
4b865dd195
inputs: add nix-darwin
2022-04-24 12:25:25 -04:00
Chris Montgomery
71874ad2ee
ci: run on macos-latest
2022-04-20 10:31:15 -04:00
Chris Montgomery
d60f27f697
Merge pull request #452 from divnix/ci-workflow-updates
2022-04-20 10:30:41 -04:00
Chris Montgomery
1c8d14f823
ci: remove extra checkout configuration
2022-04-20 10:20:20 -04:00
Chris Montgomery
58a99d83e1
ci: yaml formatting
2022-04-20 10:06:09 -04:00
Chris Montgomery
6be437e4b7
ci: use github token for authenticated requests in nix config
2022-04-20 09:58:49 -04:00
Chris Montgomery
7cbb59e03f
ci: use install-nix-action@v17
2022-04-20 09:55:28 -04:00
Chris Montgomery
3a1c5265b9
ci: use actions/checkout@v3
2022-04-20 09:55:16 -04:00
Parthiv Seetharaman
e2bb8ea28c
Merge pull request #447 from divnix/use-nixos-branch
...
Use nixos-* not release-*
2022-04-05 22:01:32 -07:00
Parthiv Seetharaman
9ffc49fed7
Use nixos-* not release-*
2022-04-05 11:56:20 -07:00
Parthiv Seetharaman
bc10b43c99
default.nix: directly import devShell.nix
2022-04-05 11:46:02 -07:00
Parthiv Seetharaman
b5fac9c7fc
examples/devos: remove bud get
2022-04-04 21:43:46 -05:00
Parthiv Seetharaman
1072583dbe
fix onboarding process for pulling template
2022-04-04 21:43:46 -05:00
montchr
afa1c70e0c
Update Changelog for tag
2022-04-02 22:16:32 +00:00
Parthiv Seetharaman
3da59b1e09
release workflow: change default branch to main
2022-04-01 16:32:20 -07:00
Parthiv Seetharaman
67404208d0
Merge pull request #436 from Pacman99/remove-customBuilds
...
Remove customBuilds, nixos-generate has --flake
2022-04-01 16:05:31 -07:00
Parthiv Seetharaman
51d8ca3fe0
Remove customBuilds, nixos-generate has --flake
2022-04-01 15:52:56 -07:00
Parthiv Seetharaman
336235e212
mdbook: update ubuntu version
2022-04-01 11:14:53 -07:00
Parthiv Seetharaman
ac9ee7af97
Merge pull request #444 from divnix/revert-devshell-subflaking
...
Revert devshell subflakification
2022-03-31 10:16:01 -07:00
Chris Montgomery
2fbffc323c
devshell: revert subflake changes
...
This reverts several commits on `main`:
- 5b33c4baef
- 85496bd4de
- 94cc51e2b7
- 75c0f266f4
- 9da3840a6f
2022-03-31 10:07:34 -07:00
Chris Montgomery
94d51035da
ci: use native github actions for pull request checks
2022-03-31 11:29:59 -05:00
David Arnold
9da3840a6f
fix: missing dep in CI devshell script
2022-03-27 18:43:21 -05:00
David Arnold
75c0f266f4
fix: invokation of the devshell in the pipeline
2022-03-27 18:26:51 -05:00
David Arnold
94cc51e2b7
fix: nix version in pipeline
2022-03-27 18:17:06 -05:00
David Arnold
85496bd4de
fix: pipeline
2022-03-27 18:11:57 -05:00
David Arnold
5b33c4baef
imp: separate devshell into subflake (don't dirty top-level flake inputs)
2022-03-23 16:43:09 -05:00
Parthiv Seetharaman
396b04b62b
README: fix devos-ext-lib link
2022-03-09 09:24:43 -08:00
bors[bot]
8b88f511db
Merge #441
...
441: fix: use gnu sed in shell tests for cross-platform compatibility r=montchr a=montchr
Darwin's use of BSD `sed` breaks here because BSD `sed` has a different
argument signature.
Spun off from #438 as suggested in https://github.com/divnix/digga/pull/438#discussion_r815551027
Co-authored-by: Chris Montgomery <chris@alley.co>
2022-03-05 21:15:50 +00:00
Chris Montgomery
7597ce22bf
fix: use gnu sed in shell tests for cross-platform compatibility
...
Darwin's use of BSD `sed` breaks here because BSD `sed` has a different
argument signature.
2022-03-05 12:18:48 -05:00
Parthiv Seetharaman
bfecf143c0
README: fix mkFlake link in Usage
2022-03-03 12:48:56 -08:00
Parthiv Seetharaman
2399abe440
Merge pull request #432 from Gigahawk/docs_fix
...
docs: update start/from-nixos
2022-02-28 14:26:01 -08:00