Commit graph

60 commits

Author SHA1 Message Date
Gabriel Fontes 4a4bc73702 remove multi-nixpkgs template
I don't intend to maintain this template, right now. It'll still be
available at a separate branch.

This reverts commit 7bbdfe484c.
2023-02-20 16:43:14 -03:00
Gabriel Fontes 7bbdfe484c
add multi-nixpkgs flake 2022-11-05 15:01:41 -03:00
Gabriel Fontes 3face7eddd set overlays through modules
This changes how the templates use nixpkgs. Before, we instantiated
nixpkgs in the flake and passd it directly to the configs; this was good
for consistency, but silently ignored `nixpkgs.*` options, generating
confusion among users. We now use modules to configure nixpkgs.

This should help avoid cases such as:
https://discourse.nixos.org/t/allowunfree-doesnt-work-with-flake-managed-system/21798/17

The drawback is that we can no longer test overlayed packages like so:
`nix build .#foo`, you can do it like so instead: `nix build
.#nixosConfigurations.your-system.pkgs.foo`.

Personally, I've been avoiding override packages globally in my own
config.
2022-11-05 14:43:53 -03:00
Gabriel Fontes b8e3385f6b
Merge pull request #5 from ajgrf/main
Some minor improvements

- Comment fixes
- Use overlayed `legacyPackages` on `devShell`
2022-10-29 02:36:45 -03:00
Alex Griffin 1007c65057 Revert "add packages output"
This reverts commit cb4aab0303.
2022-10-22 15:26:34 -05:00
Alex Griffin 8d50f3d6be use the same pkgs in nix-shell and devShell 2022-10-20 14:55:58 -05:00
Alex Griffin cb4aab0303 add packages output 2022-10-20 14:51:44 -05:00
Alex Griffin cba449c071 fix typos 2022-10-20 14:50:57 -05:00
Gabriel Fontes 760ff58349
formatting 2022-10-07 09:41:39 -03:00
Gabriel Fontes 5405cbbdb2
bump flakes 2022-10-07 09:25:01 -03:00
Gabriel Fontes ef39c00b0d
remove misleading nixpkgs.config.*, set allowUnfree by default 2022-10-07 09:22:41 -03:00
Gabriel Fontes 2e4b816bd6
eval nixpkgs on minimal, document nixpkgs config
Fixes https://github.com/Misterio77/nix-starter-configs/issues/3
2022-09-19 10:56:25 -03:00
Gabriel Fontes be00b40c8f
improve flake config formatting a bit 2022-08-08 20:24:37 -03:00
Gabriel Fontes f8b2aed834
clarify that you can use hm alone if you want 2022-08-05 23:27:38 -03:00
Gabriel Fontes 6a0ec938ad
make command steps a bit clearer 2022-08-05 23:21:18 -03:00
Gabriel Fontes f4506ceef6
your-name -> your-hostname 2022-08-05 22:57:41 -03:00
Gabriel Fontes 5981a6010b
remove profile activation, add channel sync to default nixos config 2022-08-05 22:55:29 -03:00
Gabriel Fontes 5b996debfa
add shameless plug about nix-colors 2022-08-05 22:52:49 -03:00
Gabriel Fontes cc6ca290a9
move multi-host/user info up 2022-08-05 22:50:43 -03:00
Gabriel Fontes c807ea1b0a
add advise on how to chose 2022-08-05 22:49:13 -03:00
Gabriel Fontes 8df6a51b97
add more provides info and add troubleshooting 2022-08-05 22:45:23 -03:00
Gabriel Fontes f14dd63584
remove leftover readme 2022-08-05 22:38:04 -03:00
Gabriel Fontes a06bdecdad
new version, with both templates on the same branch 2022-08-05 22:34:46 -03:00
Gabriel Fontes ff5bc7eb4d
more complete example 2022-08-05 22:19:29 -03:00
Gabriel Fontes c5c379f758
move system to module config 2022-08-05 21:25:21 -03:00
Gabriel Fontes 6e79d80644
bump lock 2022-08-01 21:54:36 -03:00
Gabriel Fontes 2497d0c756
cleanup flake a bit 2022-08-01 21:52:47 -03:00
Gabriel Fontes 7e9aa4328a
update to new home-manager flake format 2022-07-09 01:44:35 -03:00
Gabriel Fontes 00d07da8ff
fix typo 2022-05-22 19:34:55 -03:00
Gabriel Fontes c735d3b576
simple version 2022-05-22 19:31:56 -03:00
Gabriel Fontes a4d2b03b3c
couple improvements in shell.nix 2022-04-29 17:25:38 -03:00
Gabriel Fontes fa0748a598
fix shell.nix error, normalize user and host names, add more info about initial password 2022-04-25 10:03:15 -03:00
Gabriel Fontes 52a5592a5c
fix typo 2022-04-24 22:58:35 -03:00
Gabriel Fontes f1979cc646
add confused section for real begginners 2022-04-24 22:57:48 -03:00
Gabriel Fontes fc0ed86223
remove confusing reminder 2022-04-24 21:28:01 -03:00
Gabriel Fontes 416e27f2f4
replace 'add' with 'adds', to clarify it's a statement and not a tip 2022-04-24 21:18:29 -03:00
Gabriel Fontes 85075651cf
fix typos 2022-04-24 21:16:16 -03:00
Gabriel Fontes f5ec6f1b4d
make sure experimental features are enabled on the shell 2022-04-24 21:14:27 -03:00
Gabriel Fontes 33523921cb
add a few links 2022-04-24 21:07:40 -03:00
Gabriel Fontes 14db50d82f
recommend using template 2022-04-24 21:03:04 -03:00
Gabriel Fontes 6a0c7397b9
change FIXME's to lowercase to avoid confusion 2022-04-24 21:00:56 -03:00
Gabriel Fontes 87098e8c1a
increase FIXME's visibiltiy and sillyness 2022-04-24 20:59:52 -03:00
Gabriel Fontes c6cbb4b602
fix some typos and improve wording on later tips 2022-04-24 20:56:56 -03:00
Gabriel Fontes f22eb905f4
improve header hierarchy, add experimental features feature flag 2022-04-24 20:43:29 -03:00
Gabriel Fontes 29ec531cd9
major refactor and doc update
This commit completely overhauls the documentation, uses the latest .default nix syntax, and overalls improves the usage experience
2022-04-24 20:35:26 -03:00
Gabriel Fontes f733955714
Add multiple versions to readme 2022-04-24 10:14:49 -03:00
Gabriel Fontes e5efb36b8b
simplify registry, add a few more opinionated defaults 2021-12-18 10:16:16 -03:00
Gabriel Fontes ae40c97785
remove leftover ssh pub key 2021-12-17 11:39:02 -03:00
Gabriel Fontes 1cd2804300
header size typos 2021-12-17 11:35:21 -03:00
Gabriel Fontes 2ac6ef6c55
some more docs, and a minimal working system config 2021-12-17 11:32:24 -03:00