Simon Bruder
44cc17db53
Use nixos-21.05 branch
2021-06-01 09:14:59 +02:00
Simon Bruder
e94d0227fe
Use black
2021-06-01 00:02:27 +02:00
Simon Bruder
b0d6861825
Use shellcheck
...
This also adds set -e and friends where applicable.
2021-05-31 23:59:13 +02:00
Simon Bruder
091f6b0e14
Update to 21.05
...
This still uses the relase-21.05 branch which should later be changed to
nixos-21.05.
2021-05-28 14:04:53 +02:00
Simon Bruder
0f135fc87b
unlock: Resolve hostname with hard-coded server
...
This is required after power outages when unlocking the server that does
dns in the network.
2021-05-26 17:19:38 +02:00
Simon Bruder
2c8a291ae9
Make flake inputs available as module argument
...
This moves a bunch of stuff out of flake.nix into the modules they
belong to. This removes complexity from flake.nix and gives the project
a more organised structure.
Sadly, it is not possible to import modules from a flake outside of
flake.nix, since that leads to an infinite recursion (`config` has to be
evaluated before `config._modules.args.inputs` is available but `config`
depends on an import from `config._modules.args.inputs`). Therefore, the
`extraModules` argument in `machines/default.nix` has to be used for
that (it now has access to all flake inputs).
2021-05-15 10:04:44 +02:00
Simon Bruder
be8c942150
flake: Remove updateInputs app
...
Nix has support for committing the changes with `nix flake update
--commit-lock-file`.
2021-05-13 17:01:37 +02:00
Simon Bruder
a861fbd725
Include my external overlay
...
It includes packages that are proably useful for other people outside of
my own system configuration.
2021-05-13 13:42:36 +02:00
Simon Bruder
ec50bc210b
Add nixpkgs-unstable to flake registry
2021-05-07 14:36:39 +02:00
Simon Bruder
54610a130a
flake: Specify apps in the way nix expects it
...
It has to be a flat attribute set of { type = "app"; program = "…"; },
otherwise nix will still run it, but `nix flake show` fails.
2021-05-03 10:17:00 +02:00
Simon Bruder
440fc97f7f
AriaNg: Include as flake
2021-05-03 10:16:59 +02:00
Simon Bruder
8a5a5e9a1c
aria2_exporter: Include as flake
2021-05-03 10:16:59 +02:00
Simon Bruder
8e02008cb4
bang-evaluator: Include as flake
2021-05-03 10:16:59 +02:00
Simon Bruder
400b55a293
Convert to flake
...
Fixes #3 .
2021-05-01 17:36:58 +02:00