Commit graph

227 commits

Author SHA1 Message Date
db88731eba
refactor(flake): move flake modules into separate subdirectories
Also put `outputs` before `inputs` in `flake.nix` (readability)
2024-08-01 13:26:56 +03:00
236948cc2a
chore(flake): update flake.lock 2024-07-29 11:17:11 +03:00
a5811a42cb
fix(pngpaste): only compile when both host and target are darwin 2024-07-29 11:15:53 +03:00
c070f48d5e
refactor(utils)!: promote to a flake module
Accessible through `config.lib`
2024-07-29 02:11:32 +03:00
2941536b80
refactor(flake)!: export packages using a flake module
Also stop passing `outputs` around, prefer `inputs.self`
Also put all `auto_` in `readOnly` `internal` options
- `autoModules`, `autoConfigurations` and `autoPackages`
Do not export packages as overlay (causes an infinite recursion)
- this is documented on the two places it has effect on
-- in `./overlays/default.nix` and `./modules/flake/configurations.nix`
-- in `autoConfigurations` we manually extend `pkgs` with the flake packages
Allow packages to say what `systems` they are compatible with
- See `./pkgs/swww/systems.nix` - disabled for all systems
- See `./pkgs/pngpaste/systems.nix` - enabled only for `darwin` targets
2024-07-29 01:54:22 +03:00
e45db02cd5
chore(README): add more to # Structure and fix typo 2024-07-28 13:06:12 +03:00
343d49187e
chore(README): correct shell highlighting 2024-07-28 02:42:58 +03:00
e54c5faefe
feat(brew): add eloston-chromium and prismlauncher 2024-07-28 02:37:52 +03:00
8b0d2b1e51
fix(configurations)!: correctly set home-manager root 2024-07-28 02:36:34 +03:00
ec84d9a002
feat(README)!: update 2024-07-28 02:33:10 +03:00
f90ac47d91
feat(topology): add legacyPackages package for convenience
Can now also build with (1) instead of just (2)
- `nix build .#topology`
(from `legacyPackages`, hidden in `nix flake show`)
- `nix build .#topology.${system}.config.output`
(raw flake output)
2024-07-27 13:39:33 +03:00
c9b5210325
feat(configurations)!: {lib -> inputs.nixpkgs.lib}.nixosSystem 2024-07-27 13:14:58 +03:00
1b913fcf9b
chore(docs): update old filepath 2024-07-27 13:10:26 +03:00
a881c5d7e1
refactor(flake)!: machines -> hosts 2024-07-27 13:04:48 +03:00
703cd0264b
fix(swww)!: remove
Does not currently build
2024-07-25 13:45:31 +03:00
3c6419cf45
chore(nix): add TODO about uninstalling old nix 2024-07-25 12:26:02 +03:00
40a9818bc6
fix(nix): path to compat.nix
Regarding `default.nix` and `shell.nix`
2024-07-25 12:23:43 +03:00
719b12e431
fix(configuration-types)!: consolidate names with upstream
`nixDarwin{Machines,Modules}` -> `darwin{Machines,Modules}`
2024-07-25 12:21:59 +03:00
bdeb0ae13b
feat(nix-on-droid): enanle android integration
Most notably: `am`, `termux-open`/`xdg-open`
2024-07-25 02:08:32 +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
5590ef9cdc
feat(shell)!: update zsh plugins 2024-07-21 18:04:41 +03:00
3801e9bf62
feat(nu)!: update config for nushell 0.95.0 2024-07-21 18:04:00 +03:00
b467917c95
feat(wezterm): disable bell 2024-07-21 17:47:55 +03:00
b1131e7067
fix(yabai): narrow down external_bar 2024-07-21 17:43:58 +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
d9ce1c840b
fix(jeeves)!: open up wireguard for DNS requests
Port 53 is needed to pass DNS requests through
Also enable `NAT` for `wg0`
2024-07-20 22:44:39 +03:00
39a574e94a
feat(jeeves)!: nginx reverse-proxying for jeeves.local 2024-07-20 18:02:26 +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
415005d26d
feat(pkgs)!: update swww to v0.9.5 2024-07-19 01:41:55 +03:00
6e0c2adc1c
feat(home-manager): add scm module
For `git` and `jujutsu`
2024-07-19 01:40:36 +03:00
3dc5d9ac6c
feat(pkgs): add flamelens 2024-07-19 01:39:13 +03:00
a8ae6514d5
chore(nixos): update configs
`hardware.opengl` -> `hardware.graphics`
Disable `jeeves` `home-assistant` and `ollama` modules
`sha-516` -> `sha-512`
Add `jeeves` user to `input` group
Use `transmission_4` package
2024-07-19 01:37:37 +03:00
b8f75023b2
fix(agenix-rekey-default)!: use lib.mkDefault 2024-07-19 01:36:32 +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
b3390f3565
chore(cheetah)!: use monitored nix & fix nvim
New `neovim-nightly` overlay provides `neovim` instead of `neovim-nightly`
2024-06-10 01:32:00 +03:00
265f551ea8
feat(jeeves): enable flood-for-transmission 2024-06-10 00:19:05 +03:00
eea7280f98
fix(jeeves)!: nix.registry and nix.nixPath 2024-06-10 00:18:41 +03:00
cdf4d7cca4
feat(jeeves)!: add ollama and open-webui 2024-06-10 00:18:11 +03:00
3c5177a447
fix(wireguard): remove wireguardPeerConfig layer
<https://github.com/NixOS/nixpkgs/pull/312472>
2024-06-03 19:22:40 +03:00
0b71023f81
feat(yabai)!: add JankyBorders 2024-06-03 19:09:35 +03:00
65b3a48cf2
feat(shell): enable GnuPG shell integration 2024-06-01 16:11:37 +03:00
d0dcbdd617
chore(flake)!: update flake.lock 2024-06-01 16:11:20 +03:00
1c809e1460
fix(nix-monitored)!: put in nixVersions.monitored
Also fix `devShell`
  - did not correctly use the `monitored` version of `nix`
Also apply the overlays to the `pkgs` instance, used by `flake-parts`
2024-06-01 16:07:36 +03:00