Commit graph

238 commits

Author SHA1 Message Date
6fe404083b
feat(flake): add nix-{colors,hardware} 2023-02-17 02:44:16 +02:00
10b3f3da0f
feat(devShells): move to separate directory 2023-02-17 02:43:18 +02:00
e061bf4db9
chore(helpers): clean up 2023-02-17 02:42:11 +02:00
5cf9fcd62e
feat(flake): clean up
Move helpers to `./helpers.nix`
2023-02-14 12:37:46 +02:00
ed27e11b54
chore(cicd): update cachix-action to v12 2023-02-13 01:52:56 +02:00
df9ce2d4e2
feat!(flake): update homix
Update flake (`neovim-nightly-overlay` is fixed)
Format all `.nix` files
Unify package/module argument order:
    - `inputs`, `outputs`, `lib`, `pkgs`, `config`, ...
Move Jellyfin config to a `NixOS` module (first one, yay)
Add `direnv` to `reo101-shell` modules (was used, but not defined as wanted)
    - TODO: make it optional (module config options)
2023-02-13 00:33:57 +02:00
6a0898753d
fix(cicd): ssh option names, inherit (nixpkgs) lib 2023-02-12 11:38:17 +02:00
0879b52630
feat!(flake): update homix
Add more & generalize flake outputs:
    - templates: just a `default.nix` (TODO: add a `Haskell` template)
    - packages & devShells: create and use `forEachPkgs`
Add more `Wayland` things for `homix`:
    - `swww` - custom package + custom systemd service (TODO: abstract away)
    - `wired` - from flake + `home-manager` module
Add default `imports` and `nixokgs.overlays` for `reo101@homix`
    -- TODO: don't handwire it, somehow *auto-import* from `mkNixosHost` in `flake.nix`
2023-02-12 01:54:27 +02:00
406fe35116 feat!(flake): add NixOS config for homix
Copy and impove `home-manager` module integration from `nix-on-darwin` for `nixos`
Add `homix` *server* with NVIDIA drivers, `wayland` + `river`, Jellyfin, etc.
2023-02-11 01:08:58 +02:00
86809b8963 fix(cheetah): export $SHELL
Is (somehow) not set by setting `user.shell = "${pkgs.zsh}/bin/zsh";`
2023-02-07 04:34:33 +02:00
3fd306eb98 fix(cicd): don't run nix build (yet)
No packages to build currently
2023-02-07 04:07:21 +02:00
c2c77771aa chore(flake): update flake.lock 2023-02-07 04:04:02 +02:00
b57b4c82ca fix(flake): pin neovim-nightly
Currently breaks on `master`
2023-02-07 04:03:03 +02:00
6931b12130 fix(shell.nix): add default 2023-02-07 04:02:09 +02:00
89b3445172 feat(cicd): add initial cachix support 2023-02-07 04:00:47 +02:00
897c101328 feat(nix-on-droid & home-manager): update to 22.11 2022-12-04 21:58:32 +02:00
e8e005029d chore(flake): rename lib -> helpers
Prevents name clashing with `nixpkgs.lib`
2022-11-28 00:08:48 +02:00
177babd497 feat(flake): append missing modules
Append missing modules for `nixos` and `home-manager` configs
2022-11-27 23:57:21 +02:00
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
b0110b3e64 feat(flake): update flake.lock 2022-11-26 04:01:27 +02:00
3b2a3d3270 feat(cheetah): use FiraCode nerdfont
Can now be done thanks to https://github.com/t184256/nix-on-droid/pull/229
2022-11-26 03:59:32 +02:00
1fcd42d14e feat(README): reference nix-starter-configs 2022-11-25 18:22:53 +02:00
a1fb8082b8 fix(cheetah): remove tabs 2022-11-25 18:20:19 +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
db887a466f feat(README): add banner 2022-11-25 14:34:10 +02:00
05d057eba4 feat(cheetah): add zsh
Set `zsh` as default shell
Integrate with `direnv` and `starship`
2022-11-24 02:16:02 +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
ef283b9c1f feat: correctly pass overlays to HM configurations
Add `zig master` and `neovim-nightly` from top-level `flake` to `cheetah` HM configuration
2022-11-21 14:42:45 +02:00
0fbfd6973e feat(cheetah): add starship config 2022-11-21 10:08:33 +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
39188a4297 feat(README): add 2022-11-20 17:45:28 +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