Simon Bruder
e6c1a105d2
Update to 21.11
2021-12-01 17:51:15 +01:00
Simon Bruder
43067ad796
neovim: Rework configuration in lua
...
Many plugins are not yet configured, but the basic functionality is
there.
2021-11-07 21:47:56 +01:00
Simon Bruder
66f534157d
flake.nix: Avoid some anti-patterns
...
Even though nixpkgs.legacyPackages isn’t directly an anti-pattern,
importing it allows passing non-default options.
2021-11-07 20:31:48 +01:00
Simon Bruder
65aff69a90
Make nixpkgs that is used for machine configurable
...
This allows a machine to run off a different nixpkgs branch (e.g.
unstable).
2021-11-01 10:08:23 +01:00
Simon Bruder
9f4ffa5932
fuuko: Add hcloud_exporter
2021-08-28 13:53:38 +02:00
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