Commit graph

9 commits

Author SHA1 Message Date
Trolli Schmittlauch 2bdff39416 [treewide] reformat all files with nixfmt-rfc-style 2024-03-16 17:18:20 +01:00
Trolli Schmittlauch 5cb55e9805 flake: add overlays and minimal devShell
inspired by 1cbeaa156b/profiles/base/default.nix
2024-02-12 19:12:47 +01:00
Trolli Schmittlauch bc34c7638c common: remove superfluous sound.enable
That option naming is misleading, it is not needed
when already using pulseaudio and only enables a
pure-ALSA setup.
2024-02-04 02:40:14 +01:00
Trolli Schmittlauch 9ad1049f4a nixosConfigurations: move input forwarding to inline module
Inspired by https://jade.fyi/blog/flakes-arent-real/, this is better for
composability:
>  it also doesn't work outside of the flake that's actually invoking nixpkgs.lib.nixosSystem. The latter is the much more sinister part, and the reason I would strongly recommend inline modules with closures instead of specialArgs: they break flake composition.

For now, the `system` remains a specialArg, until I decide what to do
with that.
2024-01-20 12:25:32 +01:00
Trolli Schmittlauch 0b821e04da netcat: switch to openbsd implementation, it turned out more reliable in manual tests 2024-01-11 22:59:14 +01:00
Trolli Schmittlauch 34dce961d3 host framenix: use latest stable linux kernel to profit from fixes for new hardware 2024-01-11 18:24:06 +01:00
Trolli Schmittlauch fbef60be21 hosts: smartd only activated on thinknix 2024-01-11 01:50:31 +01:00
Trolli Schmittlauch bb61531df1 WIP framenix 2024-01-11 01:13:42 +01:00
Trolli Schmittlauch 993308a2d3 start modularising NixOS config for several hosts
First step in modularising the NixOS config, with a focus on separation of host-specific and common configs.
Common modules still need to be split up and refined, several TODOs and FIXUPs remain in code. But the config builds fine on thinknix.

Roughly based on/ inspired by https://johns.codes/blog/organizing-system-configs-with-nixos#using-nixos
2024-01-10 13:24:48 +01:00