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

1317 Commits

Author SHA1 Message Date
chris montgomery
c8eb0a6388
Merge pull request #480 from amarshall/fix-git-hook
devos: Fix editorconfig Git hook when no files are changed
2022-07-31 11:19:46 -04:00
chris montgomery
07fd3947f7
Merge pull request #478 from luxus/patch-1
Update issue template: adding `nix-info -m`
2022-07-31 10:54:08 -04:00
Chris Montgomery
698c297ef9
meta: rework/cleanup/clarify bug issue template 2022-07-31 10:52:21 -04:00
Chris Montgomery
0cd5e72a1c
meta: update bug report template environment instructions
instructions are out of date, referencing `flk update`
2022-07-31 10:10:55 -04:00
Andrew Marshall
dd51f64bc5 devos: Fix editorconfig Git hook when no files are changed
It is possible to make a commit with no files, e.g. with `--allow-empty`
or `--only` flags to `git-commit`. Previously, this hook would hang
indefinitely in those cases as `editorconfig-checker` with no file
arguments will read from stdin.
2022-07-21 09:12:06 -04:00
Andrew Marshall
34cb98601d devos: Check array length, rather than contents 2022-07-21 09:11:32 -04:00
Kai
00909c8ccf
Update issue template: adding nix-info -m 2022-07-14 01:06:09 +02:00
chris montgomery
587013b250
Merge pull request #471 from Sohalt/tests
Use nodes.machine instead of deprecated machine in allProfilesTest
2022-07-10 19:07:47 -04:00
chris montgomery
0bda6e3471
Merge pull request #467 from Sohalt/fix-starship-toml
Fix starship.toml
2022-07-10 18:45:56 -04:00
sohalt
28f0f44ee6 Use nodes.machine instead of deprecated machine in allProfilesTest 2022-07-10 18:45:19 -04:00
chris montgomery
da7def324d
Merge pull request #454 from divnix/simplify-checks
devShell: use --override-input to set digga url
2022-07-10 18:44:25 -04:00
chris montgomery
c134e7cd2c
Merge branch 'main' into fix-starship-toml 2022-07-10 18:26:35 -04:00
Parthiv Seetharaman
39ef17d1aa
devShell: use --override-input to set digga url 2022-07-10 18:24:12 -04:00
chris montgomery
2248d3c96f
Merge pull request #476 from divnix/update-inputs-22.05
support nixos 22.05 + remove bud and misleading onboarding docs (via #477)
2022-07-10 18:23:17 -04:00
chris montgomery
8d50be0910
Merge pull request #477 from divnix/remove-bud
remove bud and misleading onboarding docs
2022-07-10 18:09:37 -04:00
chris montgomery
aa1435dc3b
Merge branch 'main' into fix-starship-toml 2022-07-09 17:34:39 -04:00
Chris Montgomery
6f4ecf0c39
docs: remove section on using bud for hm config switching 2022-07-09 16:36:52 -04:00
Chris Montgomery
00cbe51dd2
docs: typos/cleanup 2022-07-09 16:36:36 -04:00
Chris Montgomery
e470038a36
docs: remove inaccurate and misleading bootstrapping guides
Many many people have complained about the misleading documentation.
Rather than continuing the path of "we need to fix this", we can reduce
the harmful effects of the inaccurate docs by removing them all
together.

Since much of the confusion in the "getting started" docs came from
`bud`-specific instructions, and `bud` is being removed, removing the
inaccurate docs also seems like it can be a kick towards replacing them.

Also:

- The NixOS manual is the canonical guide to installation. We don't need
to repeat its instructions.
- The numerous references to networking configuration don't have a place
within Digga -- I'm assuming these are `bud`-specific things which are
no longer relevant with `bud` gone.
2022-07-09 16:29:32 -04:00
Chris Montgomery
65b8e6d361
docs: recommend nixos-generators for iso building 2022-07-09 16:28:59 -04:00
Chris Montgomery
14e7ace5c0
cli: remove bud
This has been planned for some time.

It seems necessary to do so now because after updating inputs to track
NixOS 22.05 channels and releases, checks fail unexpectedly, with the
traces leading back to `bud`. Disabling its modules allows checks to
run successfully.

Rather than figuring out what's going wrong with `bud`, it seems more
appropriate to remove it as planned.
2022-07-09 16:24:47 -04:00
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
sohalt
0b1c58d636 Fix starship.toml
the docker key got renamed
2022-05-16 17:57:03 +02:00
Parthiv Seetharaman
29bbac0173
Merge pull request #465 from diogox/main
Fix Darwin
2022-05-16 08:12:02 -07:00
Parthiv Seetharaman
333a9db1fe
Merge pull request #466 from bspammer/patch-1
Fix shoulders of giants link in README
2022-05-16 08:11:34 -07:00
Charlie Collard
96d7af9262
Fix shoulders of giants link in README
https://github.com/divnix/digga/pull/435 migrated the README to a new location, but didn't migrate this link.
2022-05-16 15:09:10 +01:00
Diogo Xavier
3a00aee356 Update flake-utils-plus input 2022-05-16 13:55:19 +01:00
Parthiv Seetharaman
0ffa2dff5e
Merge pull request #459 from pgarrison/main
458 Onboarding docs get you to a nix-shell
2022-04-29 01:38:25 -04:00
Chris Montgomery
6a31b63c83
Merge pull request #438 from divnix/darwin-support
Add Support for Darwin/macOS Hosts
2022-04-27 20:24:20 -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
dd8d0b7927
chore: update inputs 2022-04-27 19:09:44 -04:00
Chris Montgomery
139d6e673d
docs: update api references 2022-04-27 19:09:43 -04:00
pgarrison
7af9b44d8f 458 Onboarding docs get you to a nix-shell 2022-04-24 12:03:41 -07: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
698551e084
feat: add function to filter hosts from an attrset by system 2022-04-24 12:43:50 -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
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