Commit graph

11 commits

Author SHA1 Message Date
9a9524a71e feat(flake): refactor configuration definitions
Now a bunch of configurations may be created from two functions and a set:
    `pred` - a validator that says whether a configuration is valid
    `mkHost` - a generator for that system's configuration
    `machines` - a nested attrset containing all the info for the machines
2022-11-27 15:18:40 +02:00
f510679c2f spell(nix-darwin): nix-on-darwin -> nix-darwin 2022-11-27 02:19:57 +02:00
dd2391d905 feat!(flake): convert to fs-defined configurations
Place all configurations in `machines/${manager}/${system}/${hostname}/...`:
    - `${manager}` - One of `nixos`, `nix-on-droid`, `nix-darwin` or `home-manager`
    - `${system}` - A system's architecture (can be many)
    - `${hostname}` - A system's hostname (can be many)

The flake now automatically generates the needed configurations based on the above structure.

It only generates configurations for valid directory structures:
    - It wouldn't generate a NixOS config if there isn't a `configuration.nix` file
    - ...
2022-11-27 02:12:21 +02:00
2063e04dc2 chore(flake.nix): format 2022-11-25 14:53:13 +02:00
96305f635e feat(darwin): enable home-manager support
Add `home-manager` config for `apavel`
Add some `configuration.nix` options for `apavel-a01`:
    - `FiraCode` nerdfont
    - Basic keyboard config
    - TouchID for `sudo`
2022-11-25 14:51:29 +02:00
80a2881952 fix(nix-dawrin): name typo 2022-11-24 02:14:51 +02:00
850280f483 feat(nix-darwin): add config for apavel-a01 2022-11-22 23:36:10 +02:00
9032738351 feat(cheetah): add zls 2022-11-21 15:36:23 +02:00
040215f423 feat(main): forAllSystems,packages,devShells
Reenable
2022-11-21 09:53:32 +02:00
da4bd3e943 feat(cheetah): enable neovim-nightly overlay 2022-11-21 09:52:42 +02:00
be2bb504d9 feat(config): initial
Based on `cce47e4df5/standard`
Adds (experimental) support for `nix-on-droid` and `nix-on-darwin`
Includes support for multiple hosts of each base
Adds config for `cheetah` on `nix-on-droid`
2022-11-20 17:23:58 +02:00