Commit graph

408 commits

Author SHA1 Message Date
David Arnold 176bdcf34b
Fix realod
better fix for #75
2021-01-11 19:36:48 -05:00
Timothy DeHerrera e67cd3701a
Merge pull request #82 from blaggacao/patch-1
Hosts: fix mod override
2021-01-11 16:08:20 -07:00
Timothy DeHerrera dee6d77c09
Merge pull request #84 from blaggacao/patch-5
Shell: pass flags to iso build
2021-01-11 15:56:55 -07:00
David Arnold 89a48870b1
Shell: pass flags to iso build
like --show-trace
2021-01-11 17:34:46 -05:00
David Arnold 17fb425844
Hosts: fix mod override
In some occasions the module path was renamed.
To avoid conflicts, the old path must be disabled manually.

E.g.
```nix
{
  unstableModules = [
    "services/ttys/getty.nix"
  ];
  addToDisabledModules = [
    "services/ttys/agetty.nix"
  ];
}
```
2021-01-11 17:27:38 -05:00
Timothy DeHerrera 70b26dd430
Merge pull request #80 from blaggacao/patch-5
Little hint
2021-01-11 13:50:21 -07:00
David Arnold a45df43106
Update flake.nix 2021-01-11 14:26:25 -05:00
David Arnold bb3f6ac13e
Little hint 2021-01-11 14:14:48 -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