Commit Graph

16 Commits

Author SHA1 Message Date
zowoq
7a5f6d8ff5 dev flake
This allows us to have private dev inputs that we can use in the main flake and move the github actions checks to buildbot.
2024-01-14 09:08:22 +10:00
zimbatm
e896b8f419
introduce dev flake
Keep the number of exposed inputs from the top-level flake small by
splitting the development environment into its own flake.

The .envrc uses `--override-input srvos path:$PATH` so that the srvos
path always get re-calculated on reload, but not recorded. Since the
hash of srvos is stored inside of srvos, it would infinitely update
otherwise.
2023-04-03 16:10:38 +02:00
zimbatm
5be7cdf5d8
flake: remove flake-compat as an input
Keep the dependency tree short so users don't have to override.
2023-02-27 12:02:26 +01:00
DavHau
18031eb886
predictable module locations
We introduce a few new mechanism in this commit:

flake-parts is used to wire things together.

./all-parts.nix looks for and imports all flake-part.nix files. This
makes it easier to co-locate the parts next to the targeted code.

We introduce a `modules` flake output to hold all modules. For example
instead of `nixosModules`, use `modules.nixos`.

In ./nixos we enforce a 1:1 mapping between the module filenames and the
attribute. For example ./nixos/mixins/telegraf.nix will translate to
`modules.nixos.mixins-telegraf`.

flake-compat ensures that the default.nix and flake.nix are in sync and have the same outputs.
2023-02-24 11:47:49 +01:00
zimbatm
c764097e37
make room for other types of modules 2023-02-15 10:45:26 +01:00
zimbatm
e3539e5b0b
add nix-remote-builder role 2023-02-04 09:40:57 +01:00
zimbatm
c2b0e3d418
move modules into nixos sub-folder
Make room for the docs folder
2023-01-27 10:39:18 +01:00
Jörg Thalheim
c807ba1fcc add trusted caches mixins
This adds a list of common trust-worthy caches. It's not enabled by
default since it's debatable what caches should be enabled by default.
2023-01-20 11:30:58 +01:00
Jörg Thalheim
4bee898e8d make terminfo a mixin
graphical programs are prone to break and my hinder quick upgrades on
unstable channels: https://github.com/nix-community/infra/pull/379
2023-01-16 16:22:28 +01:00
zimbatm
1d7071e8be
desktop: enable pipewire by default 2023-01-12 17:16:44 +01:00
Jörg Thalheim
2685a22ab7 rename efi to systemd-boot 2023-01-02 12:10:20 +01:00
Jörg Thalheim
a1c9ed67ea add hetzner online profile 2023-01-01 17:06:12 +01:00
zimbatm
b839938cd7
add hetzner-cloud hardware 2022-12-31 16:53:56 +01:00
zimbatm
204026c56f
add generic amazon hardware config 2022-12-31 16:53:56 +01:00
zimbatm
a47c24539a
add cloud-init profile 2022-12-31 16:31:09 +01:00
Jonas Chevalier
89c1beb1c4
expose modules list (#18)
Make the modules list available outside of flakes and prefix them.
2022-12-31 16:26:51 +01:00