1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-23 08:02:21 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Lord-Valen
5d159417c6 💎 style Format files 2022-11-12 06:02:28 -05: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
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