Commit graph

868 commits

Author SHA1 Message Date
Simon Bruder 961b497609
vueko/mail: Add alias 2021-05-17 19:05:24 +02:00
Simon Bruder 9afeb8527a
programs: Add gallery-dl 2021-05-16 17:59:21 +02:00
Simon Bruder ef78d4ec8e
flake.lock: Update
Flake input changes:

* Updated 'nixpkgs': 'github:nixos/nixpkgs/21ff9308b75d448765f7c3704a1459a3d8e1c844' -> 'github:nixos/nixpkgs/7974217f94c2970026c411d9234dbb47e93a7306'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/65a9923bbb94e4da656eb63f88f3a378be232e02' -> 'github:nixos/nixpkgs/83d907fd760d9ee4f49b4b7e4b1c6682f137b573'
2021-05-16 12:45:22 +02:00
Simon Bruder 0ba5f8c6fa
programs: Disable ungoogled-chromium
The build on hydra is failing[1] and compiling chromium is no fun.

[1]: https://hydra.nixos.org/build/142976662
2021-05-15 14:19:05 +02:00
Simon Bruder 4af6a8fce1
flake.lock: Update
Flake input changes:

* Updated 'aria2_exporter': 'github:sbruder/aria2_exporter/11af495d33bfa3d3e3f0dda93f17874bbef4ef97' -> 'github:sbruder/aria2_exporter/4b170f34720be5da2d2b8e791ff891624fe40e51'
* Updated 'bang-evaluator': 'git+https://git.sbruder.de/simon/bangs?ref=master&rev=08715eacf11e0c086fe8a09d3ccf6e9c91a60de4' -> 'git+https://git.sbruder.de/simon/bangs?ref=master&rev=d6ab4b7b2ff0cb7b404643f45e4a7a8d70eda9b7'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/c85e2a478c26cfd77d1445169e51475afe9cc7cd' -> 'github:nixos/nixpkgs/21ff9308b75d448765f7c3704a1459a3d8e1c844'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/d1601a40c48426ae460eede1675fd1d6ee23e198' -> 'github:nixos/nixpkgs/65a9923bbb94e4da656eb63f88f3a378be232e02'
2021-05-15 14:11:24 +02:00
Simon Bruder 1562a38fd1
Move mpvScripts.pitchcontrol into external overlay 2021-05-15 14:10:02 +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 531060668a
fuuko/hydra: Show logs after build is completed 2021-05-15 00:01:04 +02:00
Simon Bruder e10394cd99
flake.lock: Update
Flake input changes:

* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/936e4649098d6a5e0762058cb7687be1b2d90550' -> 'github:nixos/nixos-hardware/c4399b921fa7ff5f93ee10b3521b56b722ed74d8'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/327368f98c6a927a84aed3c2f2fd1a7f6983e855' -> 'github:nixos/nixpkgs/c85e2a478c26cfd77d1445169e51475afe9cc7cd'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/65d6153aec85c8cb46023f0a7248628f423ca4ee' -> 'github:nixos/nixpkgs/d1601a40c48426ae460eede1675fd1d6ee23e198'
2021-05-14 14:03:45 +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 7d4f84eda8
flake.lock: Update
Flake input changes:

* Updated 'nix-pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/09fb9e425111878b58223852e87ed85e8a189e0d' -> 'github:cachix/pre-commit-hooks.nix/40a51af82c1181b9dea3526c4124eee077e30213'
* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/02f067b234576a08522cffc8f5fa829db9b425cf' -> 'github:nixos/nixos-hardware/936e4649098d6a5e0762058cb7687be1b2d90550'
* Updated 'nixpkgs': 'github:nixos/nixpkgs/6e83cfb005c6281ab10e908f6386fe1499b67feb' -> 'github:nixos/nixpkgs/327368f98c6a927a84aed3c2f2fd1a7f6983e855'
* Updated 'nixpkgs-unstable': 'github:nixos/nixpkgs/ae1c8ede09b53007ba9b3c32f926c9c03547ae8b' -> 'github:nixos/nixpkgs/65d6153aec85c8cb46023f0a7248628f423ca4ee'
2021-05-13 17:00:44 +02:00
Simon Bruder 9f70024257
fuuko/hydra: Make serving build artifacts work
hydra-server.service does not have access to the signing key.
2021-05-13 14:23:10 +02:00
Simon Bruder e629ad86fb
programs: Add textidote 2021-05-13 13:51:06 +02:00
Simon Bruder ebeba7c6fd
programs: Add deemix 2021-05-13 13:50:56 +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 dc1698ffaa
fuuko: Add hydra 2021-05-13 13:07:17 +02:00
Simon Bruder d72ce259cc
Update flake inputs 2021-05-12 07:16:08 +02:00
Simon Bruder d2d2a7234f
direnv: Use nix-direnv’s use_flake 2021-05-09 12:34:48 +02:00
Simon Bruder 675f55e61f
Update flake inputs 2021-05-08 13:24:52 +02:00
Simon Bruder 7a5d16106a
mkvpropedit-add-fonts: Fix with spaces in filenames 2021-05-07 21:34:35 +02:00
Simon Bruder ca2136ef04
sayuri: Allow discards on data ssd 2021-05-07 14:37:53 +02:00
Simon Bruder ec50bc210b
Add nixpkgs-unstable to flake registry 2021-05-07 14:36:39 +02:00
Simon Bruder 26f7ef981b
Update flake inputs 2021-05-05 13:31:12 +02:00
Simon Bruder d3ec5f4ba1
sayuri: Reinstall on NVMe ssd 2021-05-04 23:15:05 +02:00
Simon Bruder 9bbc4a2f7a
sway: Use xwayland from unstable
20.09’s xwayland crashes (presumably because of sway 1.6).
2021-05-04 21:53:15 +02:00
Simon Bruder c3a3d8a12a
Adapt documentation to current configuration 2021-05-04 21:45:05 +02:00
Simon Bruder bb487bd528
Update flake inputs 2021-05-03 22:26:49 +02:00
Simon Bruder 2bf9577b61
vueko/mail: Add alias 2021-05-03 19:33:53 +02:00
Simon Bruder 10ced7f2bb
fuuko/torrent: Make socat work after forced stop
This should improve behavour after e.g. a power outage.
2021-05-03 10:17:00 +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 d19bfb9c2c
pkgs/modules: Remove stray import 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 51f814c70d
fuuko/go-neb: Use sops for secrets 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 df6c74819e
Update flake inputs 2021-05-03 10:16:59 +02:00
Simon Bruder 0bb095a2bf
zsh: No longer unset LESS_TERMCAP
Since I now manually select the environment variables imported into
systemd/dbus, other variables with escape characters are no longer a
problem.
2021-05-03 10:16:59 +02:00
Simon Bruder 09618443eb
sway: Manually implement systemd/dbus integration
The way provided by home-manager does not work reliably.

This also references (hopefully) all executables called by systemd
services by their full path.
2021-05-03 10:16:58 +02:00
Simon Bruder 84c72583fe
fuuko/drone-runner-exec: Use unstable nix
This also adds /etc/static as read-only path to the sandbox, since
otherwise /etc/nix/nix.conf can’t be read.
2021-05-01 18:31:05 +02:00
Simon Bruder 400b55a293
Convert to flake
Fixes #3.
2021-05-01 17:36:58 +02:00
Simon Bruder af036e88db
nix: Enable flake support 2021-05-01 17:08:21 +02:00
Simon Bruder d704dab620
zsh: Do not match #
Nix flakes use # extensively, so quoting '#' every time is not feasible.

This needs to be added to the end of initExtra so other commands do not
reset it.
2021-05-01 16:53:47 +02:00
Simon Bruder 5b5bf546b3
wireguard: Simplify sopsFile path 2021-05-01 16:53:06 +02:00
Simon Bruder ef790a285a
overlay: Replace self/super with final/prev 2021-05-01 16:53:06 +02:00
Simon Bruder 236ac3488a
sway: Make shells reload environment every time
Otherwise changing environment variables requires me to log out.
2021-05-01 16:34:27 +02:00
Simon Bruder 267eecf000
sway: Make swaynag buttons easier to read 2021-04-30 19:22:08 +02:00
Simon Bruder 0ddb38e8f9
sway: Use package from unstable
Sway 1.6 is in nixos-unstable, so I don’t have to apply the patch
manually.

This also addds the WAYLAND_DISPLAY variable to dbus, which is required
to show the GCR prompter GTK3 window. This only happened after the
upgrade, so I assume sway changed some things that necessitate this.
2021-04-30 19:05:36 +02:00
Simon Bruder 36da32ff33
Add memtest86+ override to 5.31b
The version in nixpkgs (5.01-coreboot002) does not work on nunotaba nor
sayuri (it shows all? addresses as bad).
2021-04-30 15:56:23 +02:00
Simon Bruder 1674ee980b
Update sources
This does not update pre-commit-hooks.nix since [1] occurs due to its
migration to flakes.

[1]: https://github.com/cachix/pre-commit-hooks.nix/pull/103#issuecomment-828489093
2021-04-28 17:04:29 +02:00
Simon Bruder 4c60f99b76
pkgs/bwrap-helper: Pass through dev-bind(-try) 2021-04-25 09:54:49 +02:00