Commit graph

690 commits

Author SHA1 Message Date
benneti 4a5cb133a7
Update README.md 2021-01-19 11:32:59 +01:00
Benedikt Tissot 12188b6ec3 nixos-hardware: use the flake instead of a path 2021-01-19 10:45:06 +01:00
Timothy DeHerrera 78adcf86dc
default: build all platforms in ci 2021-01-18 10:34:53 -07:00
Timothy DeHerrera 8ce3db6326
Merge pull request #71 from blaggacao/da-substituters
Add nrdxp cachix to substituter flake list
2021-01-18 10:20:33 -07:00
Timothy DeHerrera 6f7327cd79
Merge pull request #95 from benneti/template
flake/host: add nixos-hardware
2021-01-18 10:05:06 -07:00
Timothy DeHerrera 58b0f1ae65
Merge branch 'template' into template 2021-01-18 10:03:57 -07:00
Timothy DeHerrera 55950737dc
default: x86_64-linux packages 2021-01-18 02:26:52 -07:00
Timothy DeHerrera cd2ba3b9dc
flake.lock: update inputs 2021-01-18 02:24:34 -07:00
Timothy DeHerrera f8f67d2dcb
packages: apply overlays to output packages
Apply overlays to output packages so we can easily use a modified
package.
2021-01-18 02:23:49 -07:00
Timothy DeHerrera 4248b2d1a5
miningcore: remove from outputs 2021-01-18 02:11:15 -07:00
Timothy DeHerrera fcf9148019
default: add default.nix using flake-compat 2021-01-18 01:59:52 -07:00
Benedikt Tissot a9f11b3dca flake/host: add nixos-hardware
- add nixos-hardware flake.
- configuration in hosts/default.nix to be able to include hardware
specifics per host.
- add corresponding documentation in readme
2021-01-18 08:37:11 +01:00
Timothy DeHerrera 3968ba64c9
Merge pull request #94 from nrdxp/redist-firmware
hosts: enable redistributable firmware by default
2021-01-17 01:27:24 -07:00
Timothy DeHerrera 36bb3d2649
hosts: enable redistributable firmware by default
Fixes #92
2021-01-17 01:26:38 -07:00
Timothy DeHerrera f72125c5d2
Merge pull request #90 from blaggacao/ix-lock
lock: fix flake util refs
2021-01-11 20:12:09 -07:00
Timothy DeHerrera 75fa02fc02
kakoune: add haskell lsp support 2021-01-11 20:07:18 -07:00
Timothy DeHerrera 0e974ee976
develop#haskell: init profile 2021-01-11 20:06:08 -07:00
Timothy DeHerrera f2aedb889b
pkgs: simplify override 2021-01-11 19:59:49 -07:00
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