Commit Graph

1350 Commits

Author SHA1 Message Date
Timothy DeHerrera
e97dc7f57b
ci: host fails build for now 2021-01-24 21:40:49 -07:00
Timothy DeHerrera
d6f50531b2
ci: add explicit ci file
* Build a nixos configuration with all profiles available as part of ci
pipeline.
* Remove darwin packages as we do not have a ci agent for them.
* Build shell as part of ci
2021-01-24 11:14:42 -07:00
Timothy DeHerrera
b3ec025f24
ci: remove broken qutebrowser platforms 2021-01-24 11:06:14 -07:00
Timothy DeHerrera
82463ffdc9
flake: apply overrides first
Fixes other overlays not applying when pulling package from master.
2021-01-24 11:05:37 -07:00
Timothy DeHerrera
7c0381f478
hosts: simplify nix_path 2021-01-23 16:45:21 -07:00
Timothy DeHerrera
bd50bcbdc2
miningcore: remove broken package 2021-01-23 16:45:21 -07:00
Timothy DeHerrera
1b80806516
compat: fixes
* fix nixos-option
* use flake-compat for all backward compat concerns
* rebuild devshell after any nix file changes
* reexport system pkgs as legacyPackages
* provide lib flake output
* provide flake lib to nixos configs via `lib.flk`
* clean up flake.nix
2021-01-23 16:45:10 -07:00
Timothy DeHerrera
7002009c86
Merge pull request #96 from benneti/template
nixos-hardware: use the flake instead of a path
2021-01-23 16:38:21 -07:00
Timothy DeHerrera
a608d70908
Merge pull request #99 from nrdxp/revert-71-da-substituters
Revert "Add nrdxp cachix to substituter flake list"
2021-01-23 16:37:19 -07:00
Timothy DeHerrera
47963432c4
Revert "Add nrdxp cachix to substituter flake list" 2021-01-23 16:36:21 -07:00
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