Commit graph

604 commits

Author SHA1 Message Date
David Arnold
bb3f6ac13e
Little hint 2021-01-11 14:14:48 -05:00
David Arnold
7fb5967735
Don't evaluate overlays on master
master is only used in the context of `pkgs/override.nix`
and `unstableModulesPath`
and only within `./hosts`

Since overlays exists that are incompatible between nixos and master
at evaluation time (sic!), this together with #77 avoids evaluating
overlays against master all together.
2021-01-10 20:10:59 -05:00
David Arnold
c1b04a3aa1
Evaluate exported pkgs against repo baseline nixos
The baseline pkgs for own consumption is nixos, only pkgs/override.nix
provides a mechanism to "backport" packages from unstable.

Therefore, we should expose our packages to others in the same
context as we use them ourselves.
2021-01-10 20:02:08 -05:00
David Arnold
99c537e10e
Add nrdxp cachix to substituter flake list
courtesy of: 343239fc8a
2021-01-09 20:39:12 -05:00
Timothy DeHerrera
d0fe508da2
Merge pull request #67 from nrdxp/flatten-tree
use `flattenTreeSystem` for `packages` output
2021-01-03 00:15:42 -07:00
Timothy DeHerrera
41e3de0eab
flake: simply packages with flattenTreeSystem
Based on https://github.com/numtide/flake-utils/pull/13.
2021-01-03 00:05:39 -07:00
Timothy DeHerrera
51deae41cc
overlays: fix darkwin builds 2021-01-03 00:02:28 -07:00
Timothy DeHerrera
77a5bd36a3
miningcore: mark as broken 2021-01-03 00:00:46 -07:00
Timothy DeHerrera
7ec9a15be3
hosts: left out of #66 by mistake 2020-12-31 14:11:32 -07:00
Timothy DeHerrera
4f4cd72fdc
Merge pull request #66 from nrdxp/override-modules
Make modules overridable
2020-12-31 14:04:03 -07:00
Timothy DeHerrera
003ab99e35
niximg: install flakes directly within iso
Fixes #63.
2020-12-31 14:02:19 -07:00
Timothy DeHerrera
00b35136c3
flake: add pkgs back to overlays
Packages from `pkgs/default.nix` are meant to be exposed to all nixos
configurations. However, #61 removed a redundancy in the output api
which was  relied up to do so.
2020-12-31 14:02:19 -07:00
Timothy DeHerrera
73bc694bbb
simple mechanism to override modules from master 2020-12-31 14:02:18 -07:00
Timothy DeHerrera
164a672129
hosts: add unstableModulesPath 2020-12-31 14:02:01 -07:00
Timothy DeHerrera
6d96a5888f
don't be fancy 2020-12-31 12:41:01 -07:00
Timothy DeHerrera
09f0bbda70
Merge pull request #61 from blaggacao/da-separate-pkgs-from-overlays
ref: remove overlay xref to pkgs
2020-12-30 13:53:51 -07:00
Timothy DeHerrera
9f561b8cea
Merge pull request #62 from lourkeur/home-manager_moved
update home-manager urls
2020-12-30 12:36:22 -07:00
David Arnold
94f334ee8d
ref: remove overlay xref to pkgs
since packages are exposed through output.packages by their own,
a second export through overlays.pkgs would be smudging the public api
of this repository.
2020-12-30 11:53:53 -05:00
Louis Bettens
8438d0c404 configuration.nix: update home-manager url 2020-12-30 17:47:49 +01:00
Louis Bettens
095953efef README.md: update home-manager url 2020-12-30 17:47:46 +01:00
Louis Bettens
07c57c56f6 DOC.md: update home-manager url 2020-12-30 17:47:41 +01:00
Timothy DeHerrera
a0b9f9ffe6
hooks: declare nixpkgs-fmt pre-commit hook 2020-12-30 01:47:42 -07:00
Timothy DeHerrera
28e473517d
editorconfig: fixup 2020-12-30 01:00:12 -07:00
Timothy DeHerrera
a1fad9c019
core: add n repl alias 2020-12-29 23:31:34 -07:00
Timothy DeHerrera
a4409f79e4
any-nix-shell: update overlay 2020-12-29 20:16:26 -07:00
Timothy DeHerrera
37d40e0cfe
shell: add command descriptions 2020-12-29 01:17:36 -07:00
Timothy DeHerrera
ad4bbdd398
shell: fix flk command 2020-12-29 00:36:44 -07:00
Timothy DeHerrera
165ffaa4fb
Merge pull request #54 from nrdxp/devshell
Use mkDevShell for shell.nix
2020-12-28 23:15:03 -07:00
Timothy DeHerrera
893e09278b
shell: switch to using mkDevShell 2020-12-28 23:12:27 -07:00
Timothy DeHerrera
e7c0700959
factor out a generic fetch from nixpkgs-compat
Create fetch function which takes a valid flake input, and calls
fetchTarball with the revision and hash information from the flake.lock.

Useful for pulling the exact revision of flake inputs from not flake
expressions, such as those in shell.nix.
2020-12-28 23:08:11 -07:00
Timothy DeHerrera
828a939470
README.md: Add some useful information 2020-12-28 22:15:10 -07:00
Timothy DeHerrera
11f085e78c
shell: pull in more dependencies
* Pull recent enough versions on nixos-(rebuild|install) to ensure
  compatibility with flakes.
* Add grip for viewing changes to README.md locally
2020-12-28 21:58:23 -07:00
Timothy DeHerrera
69308e6e71
Merge pull request #49 from nrdxp/app-support
Add an `apps` output attribute set
2020-12-28 21:47:29 -07:00
Timothy DeHerrera
da685a0fb1
flake: add apps output
Packages that contain an "$out/bin" dir are exported as `apps` as well.
2020-12-28 20:33:26 -07:00
Timothy DeHerrera
2b41411802
pkgs#purs: fix package 2020-12-28 20:07:34 -07:00
Timothy DeHerrera
932147304e
kakoune: load editorconfig 2020-12-28 19:05:46 -07:00
Timothy DeHerrera
58b8d41ce5
Merge pull request #48 from blaggacao/da-editorconfig
chore: add editorconfig
2020-12-28 18:57:42 -07:00
Timothy DeHerrera
2e6f10dc85
Fix any-nix-shell breaking nix-run
Simply apply the PR from haslersn/any-nix-shell#6 until it is merged
upstream.
2020-12-28 18:48:41 -07:00
David Arnold
7816965566
chore: add editorconfig 2020-12-28 20:47:43 -05:00
Timothy DeHerrera
5b46f6a038
Merge pull request #47 from nrdxp/fix-system-arg
Revert "Add extraArgs to lib.nixosSystem call..."
2020-12-28 16:39:27 -07:00
Timothy DeHerrera
30ffeddc4b
Revert "Add extraArgs to lib.nixosSystem call..."
Fixes #46 by reverting commit 684804ebe0.

If you need the value of system, use `pkgs.system` instead.
2020-12-28 16:36:49 -07:00
Timothy DeHerrera
5204d476eb
README.md: explain externModules 2020-12-28 15:31:17 -07:00
Timothy DeHerrera
1045327e46
README.md: add some useful links 2020-12-28 15:27:32 -07:00
Timothy DeHerrera
db653d6a8f
Merge pull request #45 from nrdxp/external-modules
flake: add `externModules` list
2020-12-28 15:09:52 -07:00
Timothy DeHerrera
bdfdc4da54
flake: add externModules list
Fixes #44. Easily add external modules from other flakes by dropping
them in the list.
2020-12-28 15:07:15 -07:00
Timothy DeHerrera
167c692f9b
README.md: explain NUR 2020-12-27 21:33:28 -07:00
Timothy DeHerrera
766b54b1c9
Merge pull request #18 from nrdxp/multiArch
initial multiArch support
2020-12-27 21:20:36 -07:00
Timothy DeHerrera
7a6e725b53
flake: initial multiarch support 2020-12-27 21:19:45 -07:00
Timothy DeHerrera
b7016c8d92
pkgs: add platform information to all packages 2020-12-27 21:07:40 -07:00
Timothy DeHerrera
bd9367be48
kakoune: fix vertical selection shortcut 2020-12-27 20:04:32 -07:00