Commit graph

12 commits

Author SHA1 Message Date
ac66ed6530
feat(nix): use nix-monitored
Automatically pipes all nix output through `nix-output-monitor`
Deprecates the manual pipe in the `rebuild` script
2023-12-25 18:51:44 +02:00
8c3020b18e
feat(nixos)!: do not automatically import the nur nixosModule 2023-10-17 09:12:11 +03:00
64950f00f3
fix(flake): don't build __template__ machines 2023-09-07 01:20:49 +03:00
50549a4c1e
chore(util): clean up
Use `lib.path.append`
`and` after `map` -> `lib.all`
Indentation
2023-09-06 20:53:03 +03:00
6c7f65c018
fix(deploy-rs)!: complete
Now makes correct `deploy-rs` node definitions
    - defined by a `deploy.nix` file in the system configuration directory
    - has extra attribute `hostname` used for `deploy` invocations (might differ from local hostname)
    - single `system` profile, based on output configurations
Supports `nixos` and `nix-darwin` (for now)
Add example `deploy.nix`
2023-07-30 00:07:06 +03:00
2fea5ded7b
feat(deploy-rs): initial
Automatic `deploy-rs` node configs for `nixos` configuration using a local `deploy.nix` file
TODO: pass arguments to `deploy.nix`
TODO: extract `${system}` from `nixosConfigurations`
2023-07-29 18:14:04 +03:00
20e7547b0c
fix(shell)!: accept a hostname parameter
Pass along device `hostname` into `home-manager` (and more) configs
Used for the `rebuild` command since `nix-on-droid` uses the `default` system instead of the `$(hostname)` one (because that requires root to change on-device)
2023-07-26 09:48:01 +03:00
bc81e59950
feat(flake)!: common home-manager settings
Automatically add the flake's overlays to `home-manager`'s `nixpkgs.overlays`
Split up `reo101-shell`
Upgdate `cheetah` to `23.05`
Some formatting
2023-07-26 08:44:02 +03:00
de43011b22
feat(flake)!: convert to fs-defined modules
Place all modules in either:
    - `modules/${manager}/${module}.nix`
    - `modules/${manager}/${module}/default.nix`

- `${manager}` - One of `nixos`, `nix-on-droid`, `nix-darwin` or `home-manager`
- `${module}` - Module name (autoimported by configurations, used for exporting)
2023-07-25 21:08:46 +03:00
46f6f90a0c
chore!(util): clean up
Fix `hasDirectories`
Correctly detect `autoDarwinConfigurations` (did not check for `home`)
Decrease usage of `with`
Depend more on `lib` functions over custom implementations
Reindent correctly some code
2023-04-23 02:39:34 +03:00
c5c43e9fc5
feat!(limontozu): add config 2023-04-17 12:05:13 +03:00
cc58835189
chore!(homix): update nixpkgs
Also rename `lib` to `util` to avoid confusion
2023-04-15 18:09:55 +03:00
Renamed from lib/default.nix (Browse further)