about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/profpatsch/write-rust: alwyas run tests by defaultProfpatsch2021-04-236-22/+27
| | | | | | testRustSimple wouldn’t work with all the rust functions, so let’s just use it internally and expose the tests via the conventional `doCheck` attribute instead.
* machines/profpatsch: use unfreeAndNonDistributablePkgs for convertProfpatsch2021-04-233-6/+4
|
* pkgs/profpatsch: add xrandr two monitor setupProfpatsch2021-04-232-0/+205
| | | | Just to prove I can.
* machines/sterneseemann/wolfgang: install docker-composesternenseemann2021-04-231-0/+1
|
* machines/profpatsch/shiki: allow unfree for mpvScripts.convertsternenseemann2021-04-231-0/+4
| | | | | | | | | In a recent PR, mpvScripts.convert was marked unfree (for lacking a license upstream). This is probably fine, so we add this as an exception via the predicate option (as the lowest impact solution in contrast to enabling allowUnfree). cc @Profpatsch
* machines/sternenseemann/wolfgang: remove github-clisternenseemann2021-04-221-1/+0
| | | | git fetch origin refs/pull/<id>/head is really all you need.
* profiles/tvl: remove effect-less mkAftersternenseemann2021-04-201-2/+2
| | | | | | | | | Binary cache priority is only decided by list ordering if the caches have the same priority, but cache.tvl.su has a higher priority than cache.nixos.org and headcounter.org/hydra. Due to https://github.com/NixOS/nix/issues/4717 we can't specify the priority for cache.tvl.su via the URL options method.
* profiles/tvl: use networking.domain instead of listing all hostssternenseemann2021-04-201-7/+3
| | | | This should make arbitrary new short domains work automatically.
* pkgs/profpatsch/write-rust: fix ln invocationsternenseemann2021-04-201-1/+1
| | | | | | | | The -T flag is GNU coreutils specific, for s6-ln and POSIX ln, the equivalent seems to be -L which mandates behavior like linkat(3) with the AT_SYMLINK_FOLLOW flag. cc @Profpatsch
* machines/profpatsch/shiki: remove dhall-flychecksternenseemann2021-04-201-1/+2
| | | | | | | It doesn't build currently and channels.generic has been broken for too long. @Profpatsch pls fix upstream.
* profiles/services: Re-enable MPD connection to pulsedevhell2021-04-201-0/+1
|
* machines/gunnr: Switch to AMDGPUdevhell2021-04-201-3/+5
| | | | Just like with herja.
* Revert "machines/herja: Add pulseaudio for pactl"devhell2021-04-181-1/+0
| | | | | | | There's no need for this as I've reverted back to `pulseaudio` for the time being. This reverts commit a520414825f672eadd25017f06bf13fb9de2db8d.
* Revert "profiles/{base,packages,services}: Swith to pipewire"devhell2021-04-183-6/+7
| | | | | | | | | | | | | This isn't working for me right now. Various different issues are afoot. For one, my new headset at work functions as expected, until I change volume, either on the headset itself or via normal volume control. My local MPD isn't working either since the switch and there doesn't seem to be a way to replicate that functionality with `pipewire` right now. While I'd be more than happy to look into it, as usual, right now is not a good time. This reverts commit 997cbff6504bcd6bbc2b9fc72fecf271508956b8.
* machines/profpatsch: make bitlbee and philip normal userssternenseemann2021-04-182-0/+2
| | | | | | | | | | | | | | https://github.com/NixOS/nixpkgs/pull/115332 introduced a new check that requires either isSystemUser or isNormalUser to be true to help UID collision checks (I don't remember how this exactly aids that). To fix evaluation of @Profpatsch's machines, I've set isNormalUser for bitlbee and philip. Note that bitlbee probably should be a system user, but seems like there may be issues with that: https://github.com/NixOS/nixpkgs/pull/115332#issuecomment-792287827 Just to be safe, leave it as a normal user for now, the proper fix seems to be to move the data dir creation into the service setup, rather than doing it via the home setup.
* machines/sternenseemann: install posix man pagessternenseemann2021-04-181-0/+1
|
* profiles/packages: Remove transcodedevhell2021-04-171-1/+0
|
* machines/herja: Add pulseaudio for pactldevhell2021-04-171-0/+1
| | | | | | | | While I'm generally happy with `pipewire`, some things broke, such as volume control. I've tried to fix it using a range of front-ends for PA, but so far only `pactl` seems to be behaving correctly (but broke mic mute again). I might have to switch back to PA in the end as it's also broken my setup on gunnr somewhat.
* machines/herja: Force use of amdgpudevhell2021-04-171-2/+4
| | | | | | | Every boot the kernel will silently dump some a trace referencing an issue with AMDGPU. Some sleuthing suggests that the module needs to be loaded much earlier. Funnily NixOS actually has a wiki specifically on AMDGPU, so these settings have been taken from there.
* profiles/services: Switch mpd to socket activationdevhell2021-04-161-1/+1
|
* modules/sternenseemann/sway: work around new screensharing issuesternenseemann2021-04-161-1/+5
| | | | | | Sway updates it's WAYLAND_DISPLAY variable in a way dbus doesn't pick up on. Fix is taken from here: https://github.com/NixOS/nixpkgs/issues/119445#issuecomment-820507505
* devhell/{profiles,packages}: Modify i3wmdevhell2021-04-152-2/+1
| | | | | Don't need these extra packages and I'm tired of i3lock-fancy being so damn slow.
* devhell/vim: Add packages, remove textwidthdevhell2021-04-151-1/+2
| | | | | | The textwidth limit is getting annoying on certain files, and while I'm sure there's an elegant 'vim-way' of doing this without plugins, I'm just gonna go ahead and see if `vim-sleuth` does the trick.
* modules: Remove my vimdevhell2021-04-152-91/+0
| | | | | Silly me for not noticing that I was using the pkgs version rather than the module version. Thanks to @aszlig for pointing out my idiocy. :)
* factorio: Fix patcher to work with Radare2 5.xaszlig2021-04-141-2/+10
| | | | | | | | | | | | | | | Version 5.0.0 of Radare2 introduced a few changes in symbol naming, which causes our patcher to fail because it's unable to find the "/usr/share/factorio" string and the getSystemWriteData() method. The upstream change[1] in question for example now uses underscores for certain characters in the symbol/comment name, so for us to be backwards-compatible I added a check against the major version of Radare2 to determine whether we should add underscores when needed. [1]: https://github.com/radareorg/radare2/commit/aaa930ab261a31e58b1257df06db02481cd3bd55 Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/sternenseemann: add release tarball toolingsternenseemann2021-04-133-0/+104
| | | | | | | | | | | | | | The following nix functions allow easily creating derivations for building a signed releases directory for project(s) to be served via e. g. HTTP. * buildGitTarball: builds a reproducible .tar.gz for a given git revision or tag (similar to git archive, but we don't actually reuse it in favor of fetchgit). * bundleSignedReleases: symlinks tarballs generated using buildGitTarball and accompanying (manually provided) signatures into a directory and verifies the signatures to ensure buildGitTarball is donig what it's supposed to.
* pkgs/sternenseemann: add schmecgit, a cgit about / source filtersternenseemann2021-04-133-0/+146
| | | | | | | | | Only does very simple dispatching to pkgs.lowdown and pkgs.chroma, but is at least significantly faster than the default source and about filters bundled with cgit (which is not really a challenge as they use python and pygments). Added to enable my cgit setup until we can have TVL's //tools/cheddar.
* release.nix: update programs.sqlite to 21.05pre282432.311ceed827fsternenseemann2021-04-131-2/+2
|
* modules/user/devhell: fix eval … againsternenseemann2021-04-131-3/+3
| | | | | | | Mistyped with my evaluation fix and added lib.optional instead of lib.optionals, so a list got into systemPackages which breaks evaluation in a hard to debug way (and also made me discover a hillarious segfault in nix).
* machines/profpatsch: remove wireguard from extraModulePackagessternenseemann2021-04-133-7/+0
| | | | | | | | Starting with Kernel 5.6 adding this package is no longer necessary. Since the kernelPackages.wireguard attribute returns `null` for that version, evaluation fails. cc @Profpatsch
* pkgs/sternenseemann/shakti: fix hashsternenseemann2021-04-131-4/+5
| | | | Ugh.
* pkgs/sternenseemann: restructure default.nixsternenseemann2021-04-131-34/+37
| | | | Group somewhat semantically instead of ordering alphabetically.
* modules/core/tests: adjust for new kernel test structuresternenseemann2021-04-131-12/+12
| | | | | | | | | | | | | | | The kernel-lts and kernel-latest tests seem to have been removed (not sure when exactly, didn't blame). Instead we can use nixosTests.kernel-generic."linux_${major}_${minor}". This allows us to easily check for tests for arbitrary kernel versions as well. However there is currently a bug that these are returned as functions instead of derivations at the moment which will hopefully be fixed by my upstream PR soon. Until that happens we check if the test is a derivation or not with lib.isDerivation. cc @aszlig for comments / further improvements. Main intention right now is to fix eval in a future proof way.
* machines/sternenseemann/wolfgang: switch to scribusUnstablesternenseemann2021-04-131-1/+1
| | | | | The normal scribus attribute doesn't evaluate on nixos-unstable currently (2.7 pillow is marked as insecure).
* pkgs/sternenseemann/tep: add static list of additional charssternenseemann2021-04-131-2/+8
| | | | | This is currently mostly to add the dot character used as separator in dot time (<https://dotti.me>).
* profiles/{base,packages,services}: Swith to pipewiredevhell2021-04-113-7/+6
| | | | | | | This seems very neat, and after a brief test I'm going to see if I can switch to it permanently. This is also the beginning of my journey to move to sway eventually.
* pkgs/sternenseemann/patches: prevent possible buffer overrunsternenseemann2021-04-101-12/+21
|
* pkgs/sternenseemann/mandoc: use new READ_ALLOWED_PATH approachsternenseemann2021-04-102-64/+82
| | | | | This patch version implements Ingo's suggestion of READ_ALLOWED_PATH: https://inbox.vuxu.org/mandoc-tech/20210331173434.GA57338@athene.usta.de/
* profiles/tvl: support tvls host shorthandssternenseemann2021-04-091-0/+8
| | | | | | | whitby.tvl.fyi has virtualhosts configured with the names "b" and "cl" which redirect to b.tvl.fyi and cl.tvl.fyi respectively. For this to work in e. g. your browser as well, we need to add entries to networking.hosts. See also http://cl/2908.
* profiles/tvl: insert cache.tvl.su with less prioritysternenseemann2021-04-091-2/+2
| | | | | This should make headcounter.org/hydra and cache.nixos.org take precedence over cache.tvl.su which is needed less often.
* machines/herja: Switch back to iwddevhell2021-04-071-3/+2
| | | | | | | | Finally, after a lot of hussle with the IT department they've come to the conclusion that, in fact, their eduroam cert was not generated properly thereby preventing me from using iwd. It looks like this only affected a minority of devices (presumably those with proper implementation).
* modules/profiles/tvl: add tvl profile modulesternenseemann2021-04-043-0/+30
| | | | | | | | | | | | This doesn't do much other than enabling cache.tvl.su as a binary cache currently, but we can additional settings in the future which are neat for working with tvl's depot. I contemplated adding an option to add <depot> to the nixPath, but I don't want it too desparately right now and it is kind of annoying to implement for vuizvui, as the default core/common.nix module overrides any values you set and it is hard to merge the nixPath values, so we'll probably need an vuizvui.extraNixPath option etc. pp.
* machines/{gunnr,herja}: Unify opengl.extraPackagesdevhell2021-04-042-2/+6
|
* profiles/services: Enable havegeddevhell2021-04-041-0/+1
|
* pkgs/sternenseemann/tep: fix attribute pathsternenseemann2021-04-031-1/+1
|
* modules/devhell/profiles/services: conditionally include i3-auto-layoutsternenseemann2021-04-031-2/+3
| | | | | | | | | i3-auto-layout is not yet in nixos-unstable unfortunately, so it triggers an eval error on hydra. Temporarily hack around it by only including it in extraPackages if pkgs contains the package in question (i. e. if rebuilding from master locally). cc @devhell
* profiles/{packages,services}: Modify i3devhell2021-04-012-2/+2
| | | | | Add i3 extraPackages `i3-auto-layout` and `rofi`. This is much saner than shoving everything into systemPackages.
* profiles/base: Enable dconfdevhell2021-04-011-0/+3
| | | | According to NixOS' wiki this should be good for something.
* pkgs/profpatsch/el-semicolon: build and run tests using testRustSimplesternenseemann2021-03-312-12/+7
|
* pkgs/profpatsch: remove nix-genProfpatsch2021-03-313-26/+2
| | | | It was unused and required a broken hnix pin.