Pacman99
6c6e69d2d0
README: fix bors repository link
2022-02-23 15:23:13 -08:00
Pacman99
33328e3d68
evalArgs: switch suites type to coercedListOf
...
so suites get flattened as they used to
2022-02-23 15:23:13 -08:00
Pacman99
7f17b5bc9f
tests: only add profilesTest if suites are defined
...
isoConfig: don't error if suites aren't passed
2022-02-23 15:23:13 -08:00
Pacman99
177f01ced0
tests: add proper check for rakeLeaves
...
also drop mkSuites test, which is now deprecated
2022-02-23 15:23:13 -08:00
Pacman99
e838f60e29
Replace profiles/suites with general importables
...
profiles and suites is created with the old mkProfileAttrs, this makes
the new auto-importing strategies backwards compatible. But warnings are
printed when using profiles and suites instructing you on how to switch
your profiles folder format and add suites to importables
2022-02-23 15:23:13 -08:00
Pacman99
271cfd0c18
re-add mkProfileAttrs with a deprecation message
2022-02-23 15:23:13 -08:00
Pacman99
f100c6dcf4
flake: update devshell input for importTOML
2022-02-23 15:23:13 -08:00
Pacman99
e6b9618a32
tests: add simple devshell test
2022-02-23 15:23:13 -08:00
Pacman99
878aea95ad
export devshell modules
2022-02-23 15:23:12 -08:00
Pacman99
bf6a465789
evalArgs: add devshell namespace for modules
...
don't import modules
2022-02-23 15:22:57 -08:00
Pacman99
237e0bce9b
rakeLeaves: create and use standard auto-importer
...
The function picks up `.nix` files and stops recursing when it hits
a folder with a `default.nix`
This allows it to be used to collect hosts, overlays, and profiles
2022-02-23 15:22:57 -08:00
Pacman99
8065740c86
shell: append overlays
2022-02-23 15:22:57 -08:00
Pacman99
d410c2f90d
tests: add host build to checks output
2022-02-23 15:22:57 -08:00
Pacman99
181b8a42a4
evalArgs: create outputsBuilder option
2022-02-23 15:22:57 -08:00
Pacman99
a3c6bc7990
mkFlake: update to new fup outputsBuilder
2022-02-23 15:22:57 -08:00
Pacman99
7daa4d45b1
flake: update fup input
...
includes addition of outputsBuilder
2022-02-23 15:22:57 -08:00
GTrunSec
e5309ccab5
devshell: add ssh commands for secrets module
2022-02-23 15:22:57 -08:00
GTrunSec
d8d108ebf0
fix deploy-rs multi-arch
2022-02-23 15:22:56 -08:00
Pacman99
8b77cd1d5e
Revert "shell: add packages from overlays to devshell"
...
This reverts commit be058ad58dd0e43c46138a073e94ca3c313401be.
2022-02-23 15:22:37 -08:00
Pacman99
aa8bf26e72
Update Changelog for tag
2022-02-23 15:22:07 -08:00
Pacman99
2796d59a84
flake: update utils input
...
includes api changes to fup
2022-02-23 15:22:07 -08:00
Pacman99
9113d8641e
add devshellModules option to customize devshell
2022-02-23 15:22:07 -08:00
Pacman99
b144f0bc48
README: fix links and add License section
2022-02-23 15:22:07 -08:00
Dusk Banks
be23ab253c
shell/flk: sudo nixos-generate-config
...
```
$ btrfs subvol show / >/dev/null; printf "%s\n" "$?"
ERROR: Could not search B-tree: Operation not permitted
1
```
Btrfs's `ioctl()` `BTRFS_IOC_TREE_SEARCH` requires elevation.
`btrfs subvol show <path>` may be called by `nixos-generate-config`, and
if `btrfs subvol show <path>` fails then `nixos-generate-config` fails.
Fixes `flk up` failures due to the presence of Btrfs volumes.
2022-02-23 15:22:07 -08:00
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