Commit graph

13 commits

Author SHA1 Message Date
a881c5d7e1
refactor(flake)!: machines -> hosts 2024-07-27 13:04:48 +03:00
719b12e431
fix(configuration-types)!: consolidate names with upstream
`nixDarwin{Machines,Modules}` -> `darwin{Machines,Modules}`
2024-07-25 12:21:59 +03:00
91f0deb3bc
feat(flake)!: *dogfood* on all flake modules
Export all `./nix/` flake modules
Modularize `configurations` on `machines` dir
Also move `toposort` images to a single attrset binding
2024-07-25 01:25:21 +03:00
c6432c7dab
feat(modules)!: modularize over machines dir 2024-07-25 00:45:23 +03:00
8c10fdc94c
refactor(topology): call magick only once 2024-07-21 17:29:33 +03:00
af91b1e76d
fix!: make all nixosConfigurations build
Specifically `homix`
- remove manual `home-manager` module definition
Import `(r)agenix` and `agenix-rekey` by default for all `NixOS` configurations
Move `machines.nix` flake module import to `configuration.nix` from `flake.nix`
2024-07-21 16:46:12 +03:00
b48f29dab4
refactor(configurations): Configurations -> configurationFiles
Also out `system`, `host` and `configurationFiles` in an attrset
2024-07-21 15:18:18 +03:00
2b167c5406
feat(topology): add some modules
Make a `removebg` script, leveraging `imagemagick`
2024-07-21 12:05:14 +03:00
e3b1539b41
refactor(flake)!: deduplicate code in configurations flake module
Pass around `perSystem`'s `pkgs` instances to the system configurations
Some more refactoring in `configurations`' `mkHost` functions
Also start using `home-manager`'s `useGlobalPkgs` option
Also use `mkShellNoCC` for default `devShell`
Also `nix flake update`
2024-07-20 14:30:25 +03:00
eeae48b5d8
refactor(flake): extract more stuff in flake modules
`pkgs` redefinition (with overlays)
`nix-topology` setup
`agenix-rekey` setup
2024-07-19 12:35:01 +03:00
b4e7901780
feat(topology): add support
Using `flake-parts` flake module
Import `nix-topology` `NixOS` module by default
2024-07-19 02:24:20 +03:00
70d949e7e0
refactor(nix): config -> configuration
Avoid shadowin `flake-parts`' `config`
2024-07-19 01:33:09 +03:00
75ab40c7ca
feat(flake)!: convert everything to flake-parts-style flake modules
Use `agenix-rekey` flake module
Add `NixOS` module for `agenix-rekey`
- Default `masterIdentities`
- Default `localStorageDir`
2024-07-19 01:14:24 +03:00