Commit graph

73 commits

Author SHA1 Message Date
Timothy DeHerrera 8939c3401b
project rename: nixflk -> devos 2021-02-17 18:31:33 -07:00
Timothy DeHerrera 4f44e0dd13
nix: patch nix directly for experimental features
The bash wrapper was causing issues with deploy-rs and the
experimental-features option in the config was causing hercules-ci to
spit out a bunch of junk in the logs. Patching nix with the default
values required for flakes fixes both of these issues.
2021-02-17 12:54:41 -07:00
Timothy DeHerrera b41c738f39
shell: use devshell.toml 2021-02-17 11:49:13 -07:00
Timothy DeHerrera 0e27b367d7
flk: fix #123 2021-02-15 23:30:18 -07:00
Timothy DeHerrera caba5fd756
deploy-rs: init support
Managing servers remotely is a big usecase, and deploy-rs is a flake
first deployment tool. By default, all nixosConfigurations are also
setup as deploy-rs nodes.

You'll still need to do some manual ssh setup, but other than that, the
system is ready to deploy.
2021-02-14 22:17:24 -07:00
Timothy DeHerrera bf34d2071f
doc: new mdbook documentation 2021-02-14 02:46:05 -07:00
Timothy DeHerrera 4e582b1ff5
shell: remove cachix from i686-linux
Build of cachix is failing on i686-linux right now. Remove it so shell
is still usable.
2021-02-14 02:38:41 -07:00
Timothy DeHerrera 933fb8fee9
shell: cleanup devshell
* Add update command to flk
* Add cleaner usage to flk command
* Factor out scripts to be more readable
2021-02-14 02:29:17 -07:00
Timothy DeHerrera 147e5a8b12
shell: fix pkgs for nix-shell 2021-02-12 01:23:43 -07:00
Timothy DeHerrera d93d63a5e8
flk: add get command 2021-02-06 14:51:57 -07:00
Timothy DeHerrera 0ec0c25238
various refactors
* Move extern lists to their own folder
* Move unstable package and module imports to their own folder
* Create a genPkgs function to avoid using legacyPackages for the whole
  package set
* Move hmActivationPackages to legacyPackages
2021-02-03 23:44:58 -07:00
Timothy DeHerrera 7b404f587d
shell: fix formatted files not commited 2021-02-03 21:24:53 -07:00
Timothy DeHerrera c4699ed682
shell: add editorconfig hook 2021-02-01 23:16:26 -07:00
Timothy DeHerrera 46a7e7d4ce
shell#flk: consistent quoting 2021-02-01 20:10:26 -07:00
Timothy DeHerrera 4ae99af29d
Merge pull request #102 from blaggacao/da/iso-sd-netboot
host: add deault implementation for system.build.isoImage target (per…
2021-02-01 19:51:44 -07:00
Timothy DeHerrera 8d0119d8e4
home: move hmActivationPackages to own output
Fixes `nix flake check` failure.
2021-02-01 19:48:59 -07:00
Timothy DeHerrera e7d9abfdcd
shell: fix pre-commit on deleted files 2021-02-01 14:05:53 -07:00
David Arnold 28ccf4f3f9
host: add deault implementation for system.build.isoImage target (per host) 2021-01-27 21:16:51 -05:00
Timothy DeHerrera 5e2f4d09ef
Merge pull request #93 from Pacman99/home-manager-only
users: Initial home-manager only configurations(non-nixos systems)
2021-01-27 11:11:23 -07:00
Pacman99 bbcf4123b2
flk script: add home-manager only configuration support 2021-01-27 10:19:37 -07:00
David Arnold 2126268791
shell: use devshell-native pre-commit hooks 2021-01-27 10:31:46 -05:00
Timothy DeHerrera a1fade8411
shell: use DEVSHELL_ROOT 2021-01-25 09:23:51 -07:00
Timothy DeHerrera 1b80806516
compat: fixes
* fix nixos-option
* use flake-compat for all backward compat concerns
* rebuild devshell after any nix file changes
* reexport system pkgs as legacyPackages
* provide lib flake output
* provide flake lib to nixos configs via `lib.flk`
* clean up flake.nix
2021-01-23 16:45:10 -07:00