1
1
mirror of https://github.com/divnix/digga.git synced 2024-10-04 02:27:45 +03:00
Commit Graph

44 Commits

Author SHA1 Message Date
Lord-Valen
5d159417c6 💎 style Format files 2022-11-12 06:02:28 -05:00
Chris Montgomery
dec17c20e1
refactor: isolate exported modules to host-type-specific files
darwin should not export a `bootstrapIso` module, for example, because
this requires building unsupported packages.
2022-04-24 12:25:47 -04:00
Chris Montgomery
2de29e5dee
fix: check for domain attr before use
`networking.domain` is not declared in nix-darwin.
2022-04-24 12:25:46 -04:00
Timothy DeHerrera
1b9dad8e61 nix: remove ca-references feature flag
This experimental feature has been removed from Nix in unstable
versions recently, and with this set, it now pops up an unsupressable
warning message. Not so bad on its own, but when using <kbd>Tab</kbd>
completion it corrupts the output.
2022-02-23 15:23:14 -08:00
David Arnold
18ea519f0d fix: bootstrap semantics
prior to this commit the bootstrapping iso deactivated _all_ profiles
that were somehow contained in a suite.

that is an error, since it deactivates all profiles, even the most basic
and desired ones.

the impetus had been to prevent unwantes systemd services from launching

however, there seems no reliable approach to achieve that.

the now proposed alternative model is to add a bootsrap host akin to
the followint config:

```nix
# os/hosts/bootstrap.nix
{ profiles, ... }:
{
 imports = [
    profiles.networking
    profiles.users.root
    profiles.users.nixos
  ];
}
```
2022-02-23 15:23:14 -08:00
David Arnold
7e9b1c57ac fix: bootstrap image naming
transparency.
2022-02-23 15:23:14 -08:00
David Arnold
d3dca3fd8b ref/boostrap-iso: add inputs to iso store contents
There was never an intention to setup the registry with aliases, which
would not avoid a network call ayhow if an input is not specified as an
registry-resolvable input.

At the same time, this clarification also eliniates an error that is
addressed upstream via https://github.com/NixOS/nixpkgs/pull/131814

---

work-around: for spurious reasons w.r.t. functor attrs in module system

Without any obvious reason, the module system appears to substitute
attrs that contain a `__functor` with the value of that functor.
2022-02-23 15:23:14 -08:00
David Arnold
18f0a7c422 fix: don't use new kernel for bootstrap-iso to avoid incompatibilities
for example: error: Package ‘zfs-kernel-2.0.5-5.13.4’ in /nix/store/jbch90yqx6gg1h3fq30jjj2b6h6jfjgs-source/pkgs/os-specific/linux/zfs/default.nix:175 is marked as broken, refusing to evaluate.
2022-02-23 15:23:14 -08:00
David Arnold
5e7747be98 fix: typos in bootstrap ISO image 2022-02-23 15:23:14 -08:00
David Arnold
13d6f8590f fix: boostrap iso module 2022-02-23 15:23:14 -08:00
David Arnold
0c266bafdf ref: adapt to fup upstream refactoring 2022-02-23 15:23:14 -08:00
teutat3s
2965633c1f Using extra-* in nix.extraOptions should append to existing entries in nix.conf 2022-02-23 15:23:14 -08:00
David Arnold
a253fda655 ref: reorganise exported confenience modules & overlays 2022-02-23 15:23:14 -08:00
Parthiv Seetharaman
46fe74647e tree: move everything into examples/devos 2022-02-23 15:21:28 -08:00
David Arnold
31a8e76209
ref: adapt to using plain digga module for boostrap ISO 2021-07-20 21:45:41 -05:00
David Arnold
8ae22c63dc
fix: move legacy nix path definitions back to devos 2021-07-16 15:27:17 -05:00
David Arnold
26a2423312 ref: make hm common module explicit 2021-07-16 13:02:49 -05:00
David Arnold
3cc28b3adb
bump digga to latest develop 2021-06-24 18:11:24 -05:00
Jarosław Wygoda
454b27937f customBuilds: add digitalOcean 2021-06-03 08:48:25 +02:00
Pacman99
d9082066f7 flake: update to new digga api 2021-06-01 11:32:20 -07:00
Pacman99
923ce7feff tree: rename devlib -> digga 2021-05-14 10:20:02 -07:00
Pacman99
2b73d3bf53 customBuilds: add TODO to drop builderArgs 2021-05-12 11:43:27 -07:00
Pacman99
e98e595704 pass builderArgs to config and extract builds
have mkHomeConfiguration create its own custom build within the function
create a externalModule for customBuilds so its easy to add more
2021-04-30 10:52:35 -07:00
Timothy DeHerrera
2d91946745
doc: move all docs under doc 2021-04-18 20:42:49 -06:00
Timothy DeHerrera
8939c3401b
project rename: nixflk -> devos 2021-02-17 18:31:33 -07:00
Timothy DeHerrera
bf34d2071f
doc: new mdbook documentation 2021-02-14 02:46:05 -07:00
Timothy DeHerrera
40b49c52c1
create core branch without any profiles
This core will be used as the new base for the reuse branch, which is
essentiall the same as the existing template branch, except that it is
rebased from this core, simplifying future rebasing.
2021-02-03 18:58:58 -07:00
Timothy DeHerrera
10abd8cb71
gamemode: remove pkg from packages 2020-08-04 00:45:33 -06:00
Timothy DeHerrera
2369f43398
format: apply nixpkgs-fmt 2020-07-30 22:17:28 -06:00
Timothy DeHerrera
14edf3fd19
fix various linting errors throughout the repo
* replace `rec` attrs with let bindings
* remove unused args
2020-07-30 22:13:41 -06:00
Timothy DeHerrera
4ebf259d11
modules#steam: create xsession for Steam 2020-07-09 00:05:24 -06:00
Timothy DeHerrera
a0cef270aa
games: add gamemode service 2020-06-17 20:14:37 -06:00
Timothy DeHerrera
38b2ba7dda
games: add wii-u-gc-adapter package and service 2020-06-16 20:52:14 -06:00
Timothy DeHerrera
4527b96ffc
security#mitigations: avoid http call 2020-06-09 10:37:57 -06:00
Timothy DeHerrera
9b64b50ee8
flake.nix: consistent default.nix semantics 2020-01-10 22:39:42 -07:00
Timothy DeHerrera
413a6c75f6
security#mitigations: init module
Resolves #6 by breaking out the disabling of mitigations into it's own module.
Now users must explicitly accept the risk of disabling Spectre and Meltdown
mitigations with `security.mitigations.acceptRisk` in addition to actually
disabling them with `security.mitigations.disable`.
2020-01-08 13:28:49 -07:00
Timothy DeHerrera
ae303b39fd
modules: convert to list to match nixpkg sematics 2020-01-04 16:08:49 -07:00
Timothy DeHerrera
8ab0a92850
Idiomatic semantics for overlays changed
The idiom of 'self: super:' is changing upstream to 'final: prev:'.
2020-01-04 15:30:00 -07:00
Timothy DeHerrera
16b8136f50
change formatter to nixfmt 2020-01-03 22:06:31 -07:00
Timothy DeHerrera
45edaf673c
modules#qbittorrent: add openFirewall option 2020-01-01 16:24:36 -07:00
Timothy DeHerrera
cd25fdf37c
flake: move modules to outputs 2019-12-30 18:00:09 -07:00
Timothy DeHerrera
e7d560a3af
misc#qbittorrent: init 2019-12-18 00:57:31 -07:00
Timothy DeHerrera
08ede18662
mv modules/profiles profiles 2019-12-05 02:15:30 -07:00
Timothy DeHerrera
79181e103f
setup configurations API
NixOS file, configurations/<name>.nix, will be easily installable
via `nixos-rebuild --flake ".#<name>"`.
2019-12-05 01:58:40 -07:00