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

1153 Commits

Author SHA1 Message Date
Pacman99
6be60aa422 add github actions and bors configuration 2022-02-23 15:22:07 -08:00
Pacman99
0bbc1decfe test mkFlake with a full flake similar to devos 2022-02-23 15:22:07 -08:00
Pacman99
0c98c652b3 shell: use eval-config.nix with pkgs.path
This will always work and doesn't rely on fup features
2022-02-23 15:22:07 -08:00
Pacman99
5527237614 evalArgs: use submoduleWith for channels
allows `imports` key to be set without setting option as a function
2022-02-23 15:22:07 -08:00
Pacman99
6c724df96e importers: dedicated importers for api arguments 2022-02-23 15:22:07 -08:00
Pacman99
d60e3b4ec6 tree: rename devlib -> digga 2022-02-23 15:22:07 -08:00
Pacman99
e4424d7d67 shell: get nixosSystem from pkgs.input
fixes devshell since lib no longer includes nixosSystem
2022-02-23 15:22:07 -08:00
Pacman99
8c7da5e5fe flake: use nixpkgs.lib for lib output 2022-02-23 15:22:07 -08:00
Pacman99
e72f220ab5 evalArgs: use submoduleWith for nixos/home options
This sets shorthandOnlyDefinesConfig to false by default. Which means
those definitions can easily make use of the `imports` key. Without this,
they would have to pass a function to the options.
2022-02-23 15:22:07 -08:00
Pacman99
7921efd17c importHosts: output under the hosts attribute
This means the functions output can be used as a module and imported in
mkFlake arguments
2022-02-23 15:22:07 -08:00
Pacman99
a008220e46 copy over .editorconfig from devos 2022-02-23 15:22:07 -08:00
Pacman99
0b59ee4015 check if home-manager input or output exists 2022-02-23 15:22:07 -08:00
Pacman99
fb2194ae16 Add doc for mkFlake and explain usage in README 2022-02-23 15:22:07 -08:00
Pacman99
a489a954fd Move library code to src/ and cleanup folders 2022-02-23 15:22:07 -08:00
Pacman99
d5a1955553 shell: the custom nixos-rebuild will be auto-added 2022-02-23 15:22:07 -08:00
David Arnold
c4da36132c imp: remove importer from top level lib exports
Importers are auxiliary functions of this library. It feels inconsistent when
they have the same visibility of primary (builder) functions.
2022-02-23 15:22:07 -08:00
Pacman99
14c811916c shell: add packages from overlays to devshell
following same logic as exporting packages, but don't filter out inputs
2022-02-23 15:22:07 -08:00
Pacman99
44d5fa77bd shell: ensure nix flakes for nixos-rebuild 2022-02-23 15:22:07 -08:00
Pacman99
f3d074b1e3 flake: update flake-utils-plus input
includes filterPackages improvements
2022-02-23 15:22:07 -08:00
Pacman99
c2248f82f9 remove content-addressed experimental features
they are still pretty unstable and can fatally break systems
2022-02-23 15:22:07 -08:00
Pacman99
03d67fd0c8 add gitignore and remove nix build result 2022-02-23 15:22:07 -08:00
Pacman99
6aa7234a79 add README and COPYING
license is a copy from devos
2022-02-23 15:22:07 -08:00
Pacman99
9f0ecf6920 init with devos lib extraction
simple copy of devos library code
2022-02-23 15:22:07 -08:00
Parthiv Seetharaman
46fe74647e tree: move everything into examples/devos 2022-02-23 15:21:28 -08:00
Parthiv Seetharaman
b0aadda88c flake: switch back to serokell deploy input
There is a bug in the input-output-hk fork
2022-02-17 16:22:48 -08:00
Parthiv Seetharaman
74ce47c69d
Merge pull request #426 from btobolaski/patch-1
Fix decryption location for agenix in documentation
2022-02-17 11:12:12 -08:00
Brendan Tobolaski
d6b84ca240
Fix decryption location for agenix 2022-02-17 10:15:02 -06:00
Parthiv Seetharaman
ea189c3461 README: typos and grammar 2022-02-04 07:36:52 -05:00
Parthiv Seetharaman
68d42ba93f
Merge pull request #422 from Pacman99/update-inputs
Update inputs and switch back to pulling devos as a template
2022-01-30 13:52:51 -08:00
Parthiv Seetharaman
6de02a64be overrides: remove nix-direnv line 2022-01-29 19:58:36 -08:00
Parthiv Seetharaman
a341e57ca4
Merge pull request #416 from Pacman99/add-wild-flakes
README: Add flakes to "in the wild"
2022-01-29 19:55:16 -08:00
Parthiv Seetharaman
9fd3a1085e bud: switch back to pulling devos as template 2022-01-29 19:48:26 -08:00
Parthiv Seetharaman
adf005b5c8 flake: update digga, home, nixos, latest 2022-01-29 19:48:26 -08:00
Parthiv Seetharaman
d834598dba
Merge pull request #407 from Pacman99/core-comments
profiles/core: add comments for each option
2022-01-29 11:07:43 -08:00
Parthiv Seetharaman
070664bb72 README: Add more flakes to "in the wild"
Remove the nrd branch, since that doesn't exist anymore
2022-01-22 19:43:48 -08:00
Parthiv Seetharaman
283f6b255e
Merge pull request #385 from blm768/update-docs
Fix outdated option name
2022-01-11 11:01:18 -08:00
Ben Merritt
fbfb84b96c Fix outdated option name 2022-01-10 23:21:52 -08:00
Parthiv Seetharaman
cb3eca3fb0
Merge pull request #414 from blm768/fix-secret-docs
Update secrets path
2022-01-09 00:43:52 -08:00
Ben Merritt
a7fae1dbcc Update secrets path
See e538664435
2022-01-09 00:14:24 -08:00
Parthiv Seetharaman
1cbf28f445 flake: update bud input
fixes #406
2021-12-29 19:49:19 -08:00
Parthiv Seetharaman
267e135c4d
Merge pull request #409 from Pacman99/bud-get-git
bud: move to shell and use git clone for get
2021-12-29 16:45:42 -08:00
Parthiv Seetharaman
87f1d7da18 bud: move to shell and use git clone for get 2021-12-29 15:41:58 -08:00
Parthiv Seetharaman
ceffec9392 profiles/core: add comments for each option 2021-12-29 14:42:51 -08:00
Parthiv Seetharaman
3587d67506
Merge pull request #403 from divnix/update-digga
update digga
2021-12-29 14:01:09 -08:00
David Arnold
a319aed9f4 imp: move follows responsibility downstream
- also remove unimportant (small) depenencies from follows management
- so that it is less complex as errors occur, since:
- it seems there are still follows issues present upstream
2021-12-29 14:00:25 -08:00
David Arnold
838bcd1f51 nix-direnv: rm enableFlakes and pass nixUnstable
>        Failed assertions:
       - The option definition `programs.direnv.nix-direnv.enableFlakes' in `/nix/store/pv3vi4n7x83r4sc3ljqdgg9qifr4n5gp-source/users/profiles/direnv' no longer has any effect; please remove it.
       Flake support is now always enabled.
2021-12-29 14:00:25 -08:00
David Arnold
6151d02b8d rm: use of patched nix for nixos 21.11 enabled digga
- patched nix held the follows patch which is now upstreamed
2021-12-29 14:00:25 -08:00
Dmytro Kostiuchenko
b15b8bf865 Do not hardcode UID for the exemplary user
uid = 1000 is an unreasonable default for an examplary user nixos, because someone trying DevOs on a working NixOS installation likely has their own user with uid=1000 already. The code thus renders /etc/passwd invalid preventing user from logging in
2021-11-29 10:41:33 -05:00
Pacman99
506079201d
Merge pull request #401 from michaelr/docs-fix-typo-bootstrap
docs: fix typo in start/bootstrapping
2021-11-20 17:58:07 -08:00
Michael Reddick
70545abd1b docs: fix typo in start/bootstrapping 2021-11-20 15:58:37 -06:00