Commit graph

150 commits

Author SHA1 Message Date
Timothy DeHerrera 2d91946745
doc: move all docs under doc 2021-04-18 20:42:49 -06:00
Timothy DeHerrera 9ba1e7f9bc
nix: remove patch for default unstable features 2021-03-22 23:29:30 -06:00
Timothy DeHerrera 9537daee32
flake: nixos -> nixos-unstable
20.09 is getting stale as we move toward a new release so track
unstable for now.
2021-03-22 23:20:40 -06:00
Timothy DeHerrera d51cd34fb7
subflakes: make first class citizens
Subflakes should provide their wares as outputs, so wire up the pkgs
flake to reflect that.

Due to the unstable nature of flakes, updating the root flake doesn't
currently update the subflake lock file. Therefore, add additional
logic to flk update script in order to do this behind the scenes.

Nix is now pulled in from the "nix" registry flake in order for users
to take advantage of improvements to the UI since its last update in
nixpkgs.
2021-03-14 21:27:58 -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 25180a5e6e
pkgs: use subflake to manage package sources
* Resolves #118
* Leverage flakes to manage package sources & hashes
* Update documentation with an example.
* Add `mkVersion` function to autogenerate a version string.
* Add srcs package via overlay containing all sources defined in
  _pkgs/flake.nix_
* Extend `flk update` with the ability to only update the given input
2021-02-26 00:15:45 -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 bf34d2071f
doc: new mdbook documentation 2021-02-14 02:46:05 -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 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 bd50bcbdc2
miningcore: remove broken package 2021-01-23 16:45:21 -07:00
Timothy DeHerrera 4248b2d1a5
miningcore: remove from outputs 2021-01-18 02:11:15 -07:00
Timothy DeHerrera 75fa02fc02
kakoune: add haskell lsp support 2021-01-11 20:07:18 -07:00
Timothy DeHerrera f2aedb889b
pkgs: simplify override 2021-01-11 19:59:49 -07:00
Timothy DeHerrera 77a5bd36a3
miningcore: mark as broken 2021-01-03 00:00:46 -07:00
Timothy DeHerrera a0b9f9ffe6
hooks: declare nixpkgs-fmt pre-commit hook 2020-12-30 01:47:42 -07:00
Timothy DeHerrera 2b41411802
pkgs#purs: fix package 2020-12-28 20:07:34 -07:00
Timothy DeHerrera b7016c8d92
pkgs: add platform information to all packages 2020-12-27 21:07:40 -07:00
Timothy DeHerrera 63b4e06098
qutebrowser: 1.3.1 -> 1.4.1 2020-12-21 03:12:49 -07:00
Timothy DeHerrera 993a79e61e
core: add manix and nix-index 2020-12-16 14:48:40 -07:00
Timothy DeHerrera 4a97ba81d2
pkgs#miningcore: use local runtime 2020-12-14 00:40:46 -07:00
Timothy DeHerrera 9134e200ab
pkgs#miningcore: init at 50 2020-12-12 21:43:09 -07:00
Timothy DeHerrera 10abd8cb71
gamemode: remove pkg from packages 2020-08-04 00:45:33 -06:00
Timothy DeHerrera 4cff4dfa0f
gamemode: mark as broken 2020-08-04 00:25:28 -06:00
Timothy DeHerrera c8e3177373
overrides: fix overrides 2020-08-02 14:46:16 -06:00
Timothy DeHerrera 5e0ca31d02
flake: rename flake inputs and add overrides
Now you can add packages to the list in pkgs/override.nix and they will
be pulled in from nixpkgs master instead of the default NixOS flake
when installed.
2020-08-01 22:08:41 -06:00
Timothy DeHerrera 2369f43398
format: apply nixpkgs-fmt 2020-07-30 22:17:28 -06:00
Timothy DeHerrera 14edf3fd19
fix various linting errors throughout the repo
* replace `rec` attrs with let bindings
* remove unused args
2020-07-30 22:13:41 -06:00
Timothy DeHerrera cd44832dc1
purs: show user when root 2020-07-20 18:45:25 -06:00
Timothy DeHerrera 34f27bd3f3
pkgs#purs: show user@host inside ssh session 2020-07-16 18:43:28 -06:00
Timothy DeHerrera 4ebf259d11
modules#steam: create xsession for Steam 2020-07-09 00:05:24 -06:00
Timothy DeHerrera 21f0320dca
sddm-chili: simplify dependencies 2020-06-19 15:13:28 -06:00
Timothy DeHerrera d1c0b0f6ec
pkgs: add metadata and standardize 2020-06-19 14:55:30 -06:00
Timothy DeHerrera a0cef270aa
games: add gamemode service 2020-06-17 20:14:37 -06:00
Timothy DeHerrera 9983d0d2df
xmonad: use volnoti and eliminate dzvol 2020-06-17 14:23:37 -06:00
Timothy DeHerrera 38b2ba7dda
games: add wii-u-gc-adapter package and service 2020-06-16 20:52:14 -06:00
Timothy DeHerrera 1efc3eab51
xmonad: patch slock to include window title
needed for reliable focus exclusion from picom, so that screen contents
aren't leaked while locked.
2020-06-13 09:35:26 -06:00
Timothy DeHerrera 54be96d8b6
graphical#xmonad: init profile 2020-06-09 10:36:38 -06:00
Timothy DeHerrera a67ca5d03b
remove unnecessary recursive attribute sets 2020-02-01 21:10:09 -07:00
Timothy DeHerrera ef5d61af76
pkgs#pure: init at 0e87bd8 2020-01-07 13:05:38 -07:00
Timothy DeHerrera 9670fa4b0f
Revert "utils: now lives in lib.utils globally"
This reverts commit c9944b411e.
Causes infinite recursion, revert for now while exploring possible
solutions.
2020-01-05 15:39:59 -07:00
Timothy DeHerrera c9944b411e
utils: now lives in lib.utils globally 2020-01-05 03:45:59 -07:00
Timothy DeHerrera 16b8136f50
change formatter to nixfmt 2020-01-03 22:06:31 -07:00
Timothy DeHerrera 73d3826d64
Initialize template branch
Remove all idiosyncratic stuff and only leave profiles, modules and pkg
definitions, which are general and applicable for any configuration.
2020-01-03 17:47:17 -07:00
Timothy DeHerrera 1493f43ba7
flake: add packages to outputs 2020-01-01 19:24:09 -07:00
Timothy DeHerrera 667fad8f1e
pkgs: import all packages into core overlay 2019-12-26 18:25:02 -07:00
Timothy DeHerrera 5921d56779
develop: add DejaVu Nerd Font 2019-12-22 21:59:42 -07:00
Timothy DeHerrera 92648918af
graphical: sddm display manager 2019-12-17 23:33:06 -07:00
Timothy DeHerrera 6b26ef84a8
profiles: init develop
setup zshrc
2019-12-14 21:37:46 -07:00