Commit Graph

238 Commits

Author SHA1 Message Date
05d3224336
hydra-check, jq (used by some stuff), remove gcc and gnumake (why did i have them?) 2021-05-24 22:39:48 +03:00
f6fffc51ab
instant repl for system flake with nixpkgs, use system nixpkgs for nix commands 2021-05-24 22:39:47 +03:00
4ab26233b7
grit aliases, tomp4 func 2021-05-24 22:39:47 +03:00
38a3ba96dd
grit, hydrus and updates 2021-05-24 22:39:47 +03:00
4c9ecbc3ae
too lazy 2021-05-24 22:39:46 +03:00
6db520bdb8
feat: switch back to sway, update exts and flake deps 2021-05-24 22:39:46 +03:00
48e8058c09
feat: use zoxide,bottom,tealdeer and add libre office 2021-05-24 22:39:46 +03:00
81d86adbd6
feat: network manager now 2021-05-24 22:39:45 +03:00
2dfa73e0cf
feat: switch to plasma because gnome bad 2021-05-24 22:39:45 +03:00
63a724f656
updoots 2021-05-24 22:39:44 +03:00
ed926635df
more stuff 2021-05-24 22:39:44 +03:00
72b9f757ed
stuff 2021-05-24 22:39:43 +03:00
Yannick Markus
564888d1fe
remove profiles/suites.nix 2021-05-18 18:12:36 +02:00
Pacman99
8a590c9fef core: use self for nixos-option compat path 2021-05-11 11:40:37 -07:00
David Arnold
239386b5f8
Merge branch 'core' into api-next 2021-04-19 00:10:47 -05:00
David Arnold
a714cf466d
fix: various left-overs 2021-04-18 23:48:19 -05:00
Timothy DeHerrera
e1e0f99af9
suites: move to profles/suites.nix 2021-04-18 21:13:12 -06:00
Timothy DeHerrera
127cb25bd1
lib: move compat to lib 2021-04-18 20:51:47 -06:00
Timothy DeHerrera
fbce126f4d
cachix: move out of root and into profile 2021-04-18 20:43:37 -06:00
Timothy DeHerrera
2d91946745
doc: move all docs under doc 2021-04-18 20:42:49 -06:00
David Arnold
ab2919df21
core: add usbutils
Looks like core does not include `lsusb` by default, now it does.
2021-04-08 22:03:38 -05:00
Pacman99
115f1e6711 make core an unecessary profile and add to suites
Prevents mkHosts subverting standard devos api to import core and add
all necessary core features to mkHosts, so core can be safely deleted in
suites
2021-04-06 19:00:57 -07:00
Timothy DeHerrera
f53b6a4543
core: really fix #162 2021-03-14 21:49:35 -06:00
Timothy DeHerrera
c12528b7d9
core: fix #162 2021-03-14 21:41:28 -06:00
Timothy DeHerrera
c012f2f4ed treewide cleanups and refactoring for initial tests (#157)
- [x] refactor lib into separate files, similar to NixOS/nixpkgs/lib.
- [x] refactor ci to automatically generate derivations from flake outputs
- [x] remove cluttered indirection statements throughout the codebase
- [x] refactor hosts to allow for upcoming integration tests
- [x] improve ambiguity in the existing docs 
- [x] add [BORS](https://bors.tech) support
- [x] add initial integration test
- [x] write tests documentation
- [x] test lib
- [x] improve version string generation, and do so automatically for pkgs/flake.nix sources

Clean up the codebase as best we can in preparation for #152 and add tests. From now on, all PRs will be merged with BORS.
2021-03-14 07:10:51 +00:00
Timothy DeHerrera
44bae21564
nix#registry: update names
Continuing the work from 487fa7ea26,
simplify the registry entries a bit more by simply refering to the
input flakes. Also add alias `orch` for easy search `override`.
2021-03-01 20:11:23 -07:00
Timothy DeHerrera
1651913910
profiles: simplify profiles to suites
* Leave importing to nixpkgs module implentation. Provide a path
  instead; resolves #136.
* Allow profiles which are not lambdas but simple attribute sets,
  relaxing the constraints a bit.
* Update profile README.md
* defaultImports -> mkProfileAttrs: allow importing subprofiles even
  if parent directory does not contain a default.nix.
2021-02-25 14:47:19 -07:00
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
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
3a735ce70b
core: pin registry by ref
Users may wish to change the default value of override and nixos
inputs. If they do so, we want the registry listing to reflect the
proper ref names afterwards.

Also create a shell alias to easily search every flake in nix.registry.
2021-02-14 15:50:49 -07:00
Timothy DeHerrera
bf34d2071f
doc: new mdbook documentation 2021-02-14 02:46:05 -07:00
Louis Bettens
cc097e1c73 core: fix #115 2021-02-08 13:35:05 +01:00
Timothy DeHerrera
eb275d7d0e
core: fix #114 2021-02-07 18:23:31 -07:00
Timothy DeHerrera
69e0bdff63
local: remove
set locale and timezone per host instead
2021-02-06 01:39:55 -07:00
Timothy DeHerrera
1d5b489bb2
suites: mv to dir 2021-02-06 01:31:48 -07:00
Timothy DeHerrera
40b49c52c1
create core branch without any profiles
This core will be used as the new base for the reuse branch, which is
essentiall the same as the existing template branch, except that it is
rebased from this core, simplifying future rebasing.
2021-02-03 18:58:58 -07:00
Timothy DeHerrera
e92283e9d0
suites: fix play 2021-02-03 13:16:21 -07:00
Timothy DeHerrera
9234577e7e
suites: add users to suites 2021-02-03 13:16:21 -07:00
Timothy DeHerrera
c67b846929
profiles: add concept of suites
* Import attrs of profiles automatically with `defaultImport`.
* Refactor profiles to ensure all are functions returning a module.
* Add a suites.nix with collections of profiles.
* Add suites as `specialArgs` to modules.
* Add suite import to NixOS host.
2021-02-03 13:16:14 -07:00
Timothy DeHerrera
6b3100326b
core: add tealdeer 2021-02-02 22:46:12 -07:00
Timothy DeHerrera
61c732a8e0
qutebrowser: enable darkmode 2021-02-02 09:39:13 -07:00
Timothy DeHerrera
c5a2fa2f4d
qutebrowser: update config.py for new version 2021-02-02 09:27:19 -07:00
Timothy DeHerrera
f8e3b70aee
qutebrowser: patch merged upstream 2021-02-02 01:34:19 -07:00
Timothy DeHerrera
4514ea7687
graphical: latest kernel breaks nvidia 2021-02-02 01:30:24 -07:00
Timothy DeHerrera
5fd770d4db
qutebrowser: use pdf viewer 2021-02-01 23:37:39 -07:00
Timothy DeHerrera
acde966df4
develop: fix devshell package
Introduced in a1fade8
2021-01-28 14:47:48 -07:00
Timothy DeHerrera
a173bd4165
profiles#ci-agent: init 2021-01-25 09:20:40 -07:00
Timothy DeHerrera
7c0381f478
hosts: simplify nix_path 2021-01-23 16:45:21 -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