Commit graph

29 commits

Author SHA1 Message Date
Simon Bruder 87531083b4
flake.nix: Use devShells.default 2022-08-26 16:14:24 +02:00
Simon Bruder 1f842c3d9a
renge/password-hash-self-service: Init 2022-07-16 19:52:40 +02:00
Simon Bruder 2fc312dd47
flake: Use overlays.default for default overlay
The `overlay` output is deprecated.
2022-07-08 11:51:03 +02:00
Simon Bruder 7361e03630
flake: Update infinisilSystem
The binary of murmur is now called mumble-server, which is fixed in a
newer version of infinisil’s module.
2022-05-31 14:31:45 +02:00
Simon Bruder 3723c88de4
flake: Update to 22.05 2022-05-31 14:31:13 +02:00
Simon Bruder 2df718cea9
Clean up remnants from qbittorrent migration 2022-03-20 19:04:19 +01:00
Simon Bruder 093ae2ab4c
flake: Make pre-commit-hooks use nixpkgs-unstable
It depends on alejandra, which is only in nixpkgs unstable at the time.
2022-03-06 09:22:04 +01:00
Simon Bruder 20b861a994
fuuko/torrent: Use AriaNg’s nixpkgs version
Otherwise node 10 will have to be built from source since it no longer
gets built by Hydra.
2022-01-23 11:58:37 +01:00
Simon Bruder e1cda094c0
flake.nix: Add app to locally build remote deployment 2021-12-26 12:54:05 +01:00
Simon Bruder e6f9ea1c67
Update infinisilSystem
It includes fixes for the mumble module required by newer nixpkgs.
2021-12-01 19:15:31 +01:00
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