Commit graph

2030 commits

Author SHA1 Message Date
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
Timothy DeHerrera 1d3c467ca0
virt: enable container configs 2020-12-27 17:38:49 -07:00
Timothy DeHerrera 8842ae52a0
kakoune: add dhall-lsp support 2020-12-27 17:38:22 -07:00
Timothy DeHerrera fd3d0abd05
Merge pull request #43 from diogox/template
Add NUR support
2020-12-27 00:43:53 -07:00
Timothy DeHerrera 5f7af10bae
shell: add a nixpkgs-compat file
We are now able to pull in the same revision of nixpkgs as listed in
the lock file.
2020-12-27 00:40:12 -07:00
Diogo Xavier 15003e3de9 Add NUR support 2020-12-26 12:40:20 +00:00
Timothy DeHerrera 94de0921e6
shell: rename rebuild to flk 2020-12-25 22:14:56 -07:00
Timothy DeHerrera 42e02c08d6
adblocking: update hosts 2020-12-25 22:10:44 -07:00
Timothy DeHerrera fde19f0117
direnv: use nix-direnv instead ad hoc hack 2020-12-25 22:09:09 -07:00
Timothy DeHerrera 89d7829169
virt: use docker alias so completion works 2020-12-25 15:57:47 -07:00
Timothy DeHerrera e7ce2fb21b
Merge pull request #42 from nrdxp/flake-clean
flake: clean up by moving implementation to utils
2020-12-25 12:56:45 -07:00
Timothy DeHerrera 211fc1d5f5
DOC.md: update docs to reflect changes. 2020-12-25 12:55:18 -07:00
Timothy DeHerrera 3300b5d582
flake: clean up by moving implementation to utils
Fixes #28 by adding an `externOverlays` list to easily import overlays
from external flakes.
2020-12-25 12:53:57 -07:00
Timothy DeHerrera 5620569852
develop: switch to using gopass 2020-12-21 03:12:50 -07:00
Timothy DeHerrera 63b4e06098
qutebrowser: 1.3.1 -> 1.4.1 2020-12-21 03:12:49 -07:00
Timothy DeHerrera 2f10157648
shell: silent nix-command check 2020-12-19 18:35:33 -07:00
Timothy DeHerrera d3f0ad14d3
core: fix direnv hook 2020-12-19 18:35:16 -07:00
Timothy DeHerrera 1e0ad4d259
nix-zsh-completions: update overlay 2020-12-19 18:14:13 -07:00
Timothy DeHerrera 891fd23ec2
shell: for zsh users provide useful competion
Default nix completions fail with the new nix-command interface, at
least for users of zsh and direnv, this can be avoided on first startup.
2020-12-19 18:13:04 -07:00
Timothy DeHerrera 3a626b6cf2
shell: don't overwrite nix by default
For users who already have nix-command setup, we don't want to override
the `nix` in their path.
2020-12-19 18:11:21 -07:00
Timothy DeHerrera 70723403cc
direnv: flake based envs are pure by default
We should reflect this in the IN_NIX_SHELL envar, since it doesn't
get set properly otherwise.
2020-12-19 17:49:18 -07:00
Timothy DeHerrera 4367a6212f
users#git: avoid warning on git pull 2020-12-19 17:44:30 -07:00
Timothy DeHerrera 2a53745f3e
virt: enable oci containers via podman 2020-12-19 17:22:00 -07:00
Timothy DeHerrera 96b1ebf556
virt: overlay no longer useful 2020-12-19 17:21:24 -07:00
Timothy DeHerrera d8974dfb56
Merge pull request #33 from nrdxp/fix-home-nixpkgs
home-manager: fix trying to import <nixpkgs>
2020-12-19 15:01:58 -07:00