Commit graph

1872 commits

Author SHA1 Message Date
David Arnold d22cfc6d29
lock: fix flake util refs 2021-01-11 20:55:33 -05:00
Timothy DeHerrera d35195187f
Merge pull request #88 from nrdxp/remove-apps
flake: remove apps to reduce complexity
2021-01-11 18:15:19 -07:00
Timothy DeHerrera 25293a7ea8
flake: remove apps to reduce complexity
As pointed out here numtide/flake-utils#17, apps are somewhat redundant
and, for the sake of simplicity, should be removed for now.
2021-01-11 18:10:48 -07:00
Timothy DeHerrera 5558959869
Merge pull request #81 from nrdxp/flk-up
shell: add `flk up` command
2021-01-11 18:01:24 -07:00
Timothy DeHerrera c2a7984178
Merge pull request #78 from blaggacao/patch-4
Don't evaluate overlays on master
2021-01-11 17:59:37 -07:00
Timothy DeHerrera ade0ca4e3a
Merge pull request #77 from blaggacao/patch-3
Evaluate exported pkgs against repo baseline nixos
2021-01-11 17:59:22 -07:00
Timothy DeHerrera 62ecffc1cf
Merge pull request #87 from blaggacao/patch-1
Fix realod
2021-01-11 17:40:21 -07:00
David Arnold 176bdcf34b
Fix realod
better fix for #75
2021-01-11 19:36:48 -05:00
Timothy DeHerrera 253f175f55
README.md: add note on the up command 2021-01-11 17:32:58 -07:00
Timothy DeHerrera 620849bcf0
shell: namespace flk up
Namespace and stage generated files so that the user can build it right
away.
2021-01-11 16:21:40 -07: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
Timothy DeHerrera 86ee736552
shell: ignore flk up generated configs 2021-01-11 13:20:52 -07:00
Timothy DeHerrera e33f53ff2e
shell: add flk up command
Automatically generate a configuration for your current system using
nixos-generate-config, placed in the `up` directory. A file is added in
hosts/up-$(hostname).nix importing said configuration.
2021-01-11 13:15:55 -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
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