about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* add minimetroGuillaume Maudoux2019-09-302-0/+16
|
* pkgs/profpatsch/runExecline: move to writeCommand formProfpatsch2019-09-264-69/+61
| | | | | | | | It’s conventional that these tools have the form tool name options data so we should adhere to that.
* pkgs/profpatsch/runExecline: move to listProfpatsch2019-09-265-46/+83
| | | | | We can auto-escape execlines correctly if we model them as nix-style lists, so we shoud certainly do so. It also helps abstraction.
* Revert "devhell/profiles: Fix VirtualBox kernel 5.3 build"devhell2019-09-251-11/+0
| | | | | | This reverts commit c11d43c59fe3c82ebb17df1e592cce3fff0816c1. The patch is now included in NixOS @ 2f2da824edd
* machines/gunnr: Remove Cloudflare DNS addressesdevhell2019-09-251-3/+0
| | | | These are now blocked by university's network. *sigh*
* pkgs/profpatsch: export runExeclineLocal & run tests locallyProfpatsch2019-09-242-36/+64
|
* devhell/profiles: Fix VirtualBox kernel 5.3 buildaszlig2019-09-241-0/+11
| | | | | | | | | | | | | This uses a patch from Arch Linux to fix the build of the VirtualBox kernel modules for Linux 5.3. I didn't do any testing of this other than just to build the modules with the fix. The override here is to be reverted as soon as we got a fix for this in upstream nixpkgs. I didn't do this yet by myself, because I *really* should get back to work right now... Signed-off-by: aszlig <aszlig@nix.build> Cc: @devhell
* pkgs/santander: Remove obsolete packageaszlig2019-09-235-124/+0
| | | | | | | The upstream service was shut down at September 11th 2019, so there really is no need anymore for this package. Signed-off-by: aszlig <aszlig@nix.build>
* machines/brawndo: Use cnijfilter2 from nixpkgsaszlig2019-09-231-13/+1
| | | | | | | https://github.com/NixOS/nixpkgs/pull/58399 has been merged a few hours ago, so we no longer need to use our manual override. Signed-off-by: aszlig <aszlig@nix.build>
* workstation: Fix latitude/longitude optionsaszlig2019-09-231-2/+3
| | | | | | | | | | | | | The services.redshift.{latitude,longitude} options are deprecated and the replacement for them are the location.{latitude,longitude} options that have been introduced since a while[1]. Both of the new options now use floating point numbers instead of strings, which I changed accordingly (and also rounded them a bit). [1]: https://github.com/NixOS/nixpkgs/commit/c4de0bf49289bc6b1448420dea39d7a5b0f3c374 Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/psi: Fix Qt5 application wrappingaszlig2019-09-233-9/+28
| | | | | | | | | | | | | Qt applications are no longer implicitly wrapped since a while[1] and so we new have to use wrapQtAppsHook instead, which also makes the wrapping for Psi obsolete. To make sure we don't run into startup errors again, I added a small VM test, which checks whether the application starts up properly. [1]: https://github.com/NixOS/nixpkgs/commit/f79fd2e826dd95b3b64839d3e0bec8ae1dfab17e Signed-off-by: aszlig <aszlig@nix.build>
* modules/zsh: Fix options and clean up a bitaszlig2019-09-221-17/+15
| | | | | | | | | | | | | | | | Since a while ago[1], the setting of ZSH options is now done after interactiveShellInit, so using unsetopt SHARE_HISTORY doesn't work anymore because it is set *afterwards*. Instead of setting these options, we now use the setOptions option instead and override it with exactly the options I want to be set. Additionally, compinit is also no longer necessary, because it is done by default and invoking it on our own is just redundant. [1]: https://github.com/NixOS/nixpkgs/pull/58012 Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/psi: Update to latest upstream masteraszlig2019-09-222-37/+23
| | | | | | | | | | The current master version contains a number of fixes, one of them I encountered by myself, which is a crash when changing profile settings. I've updated the configuration patch accordingly, because a few (obsolete) settings got removed upstream. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/build-sandbox: remove malloc.hProfpatsch2019-09-191-1/+0
| | | | | | | | | | The standard functins in `malloc.h` are exported by `stdlib.h`, and `malloc.h` is highly linux-specific. See https://stackoverflow.com/questions/56463049/should-mac-osx-have-a-malloc-h-file/56463133#56463133 and https://stackoverflow.com/questions/12973311/difference-between-stdlib-h-and-malloc-h
* machines/managed: Switch to libinputaszlig2019-09-073-5/+0
| | | | | | | | | | | | Since NixOS/nixpkgs@466f5e534688049be2ed6e75ae5659633016b45e, libinput is enabled by default for Plasma 5, so we no longer need to explicitly enable it anymore. Furthermore, there was brawndo as the only machine still using Synaptics and it's about time it's using libinput as well, so I subsequently removed synaptics there. Signed-off-by: aszlig <aszlig@nix.build>
* machines/dnyarri: Fix allowUnfreePredicateaszlig2019-09-061-1/+1
| | | | | | | | | | | | | Since NixOS/nixpkgs@c814d72b517bb201c8bbbfc64e386c7023352886, a lot of packages now no longer have a name attribute but instead use pname, so when checking the package name within allowUnfreePredicate we need to make sure that we fall back to a default if the name attribute is not present. This fixes evaluation of the machine, however I didn't check if it actually builds. Signed-off-by: aszlig <aszlig@nix.build>
* machines/sigrun: Remove twisterdevhell2019-09-041-1/+0
| | | | I'm not really using it.
* profiles/packages: Add nitrokey udev rulesdevhell2019-09-041-0/+1
|
* machines/haku: add lisanne againProfpatsch2019-08-281-1/+1
|
* machines/haku: custom portsProfpatsch2019-08-281-0/+3
|
* machines/profpatsch: add *all the* VM usersProfpatsch2019-08-281-1/+1
|
* machines/profpatsch: add lr and xe to my base profileProfpatsch2019-08-281-0/+2
|
* machines/haku: add lisanneProfpatsch2019-08-271-0/+1
|
* {machines,modules}/devhell: Split updateMicrocodedevhell2019-08-255-1/+4
| | | | | | Most machines are Intel, but not all, therefore we must now apply CPU microcode updates to different manufacturers explicitly. Something that needs DRYing, yet again.
* devhell/profiles: Fix redshift.provider optionaszlig2019-08-131-5/+3
| | | | | | | | | | | This option has been moved to a more generic "location" option in NixOS/nixpkgs@c4de0bf49289bc6b1448420dea39d7a5b0f3c374, so in order to fix evaluation for all our machines, let's switch to the new option instead, which is equivalent in functionality to services.redshift.provider. Signed-off-by: aszlig <aszlig@nix.build> Cc: @devhell
* release.nix: Fix build of manualaszlig2019-08-111-2/+4
| | | | | | | | | | | | | | | | | | | | | | A recent change[1] that has been merged to nixpkgs master has factored out the generation of the options in (among others like JSON) DocBook format into pkgs.nixosOptionsDoc and subsequently also changed the path of the XSL files. Ideally, the generation of the manual on our side would also just use a single function that is provided via nixpkgs for generating the *full* manual. The nixosOptionsDoc function however provides *only* the option list in DocBook format, which is useful to *some* extent but doesn't deduplicate the extra params we give to DocBook (eg. style sheets for syntax highlighting). This and the fact that I only have limited time at the moment is why I left all the other crap we duplicate on our side as-is and only change the path to the XSL files. [1]: https://github.com/NixOS/nixpkgs/commit/5cfd034af0afe55e4d25748ec986c71b3bfbe3dd Signed-off-by: aszlig <aszlig@nix.build>
* vim: Exempt xt and strace from linelen highlightaszlig2019-08-031-2/+2
| | | | | | | | Both strace and xt are trace log formats, so imposing my own distaste for overly long line length won't make a difference, as they won't change their "coding style" ;-) Signed-off-by: aszlig <aszlig@nix.build>
* vim: Add syntax highlighting for Xdebug tracesaszlig2019-08-031-0/+13
| | | | | | | | Unfortunately these days I have to debug a lot of PHP code, so having syntax highlighting (even though the syntax file is pretty terse) and being able to fold Xdebug traces is quite useful to have. Signed-off-by: aszlig <aszlig@nix.build>
* machines/{eir,gunnr,hildr}: Update DNSdevhell2019-08-023-5/+6
| | | | Let's stick with Cloudflare's primary and secondary resolvers.
* profiles/services: Move syncthing to machinesdevhell2019-08-014-6/+15
| | | | | | Unfortunately gunnr can't access syncthing from its network, and so there's no point in having it run. Looks ugly and needs to be DRY-ed at some point in time, but that'll have to wait.
* profiles/services: Fix services brainfartdevhell2019-07-251-5/+6
|
* {machines,modules}/devhell: Rework comptondevhell2019-07-254-25/+6
| | | | | | | Compton has been bumped to version 7, and with it the nix definition has changed. Additionally to adopting the new options I'm also moving compton to the overall services and have removed compton references from each machine.
* profiles/packages: Expand polybar superdevhell2019-07-231-1/+3
| | | | | | So, instead of using polybarFull, which has issues and doesn't suit me in its new incarnation anyway, I'm just expanding the super with the options I want.
* Revert "profiles/packages: polybar -> polybarFull"devhell2019-07-231-1/+6
| | | | | | This reverts commit 3343afb7c0734dbbd6953eb0cbd6558f8b81b119. Turns out this isn't working after all.
* machines/gunnr: Switch to dvorak layoutdevhell2019-07-231-2/+2
| | | | | Now that my shiny new TypeMatrix has arrived, we'll be using the superior dvorak layout.
* profiles/packages: polybar -> polybarFulldevhell2019-07-221-6/+1
| | | | | polybarFull has everything I want (and didn't even know of), so let's install that instead.
* profiles/packages: Add vscodiumdevhell2019-07-201-0/+1
| | | | | Turns out, it's actually really good for writing chapter drafts in Markdown.
* machines/gunnr: Change proxy settingsdevhell2019-07-171-1/+1
| | | | This is better controlled via browser proxy settings.
* devhell: Remove localtime and revert timeZonedevhell2019-07-123-3/+1
| | | | Never mind. This doesn't work, of course.
* profiles/base: Set timeZone to nulldevhell2019-07-121-1/+1
| | | | | With this set the timezone should be automatically set as promised by services.localtime.
* machines/{hildr,eir}: Enable localtime servicedevhell2019-07-102-0/+2
| | | | | When one travels with one's laptop, one does not wish to be disturbed by having to manually configure a TZ. How plebish.
* {machines,modules}/devhell: Split offlineimapdevhell2019-07-024-6/+15
| | | | | | | | I can't keep `offlineimap` as a service that applies to all, simply because `gunnr` will never be able access IMAP from its network. There's therefore little point in having it try to connect. So, instead I've moved the service to all machines that are expected to be able to access emails.
* profiles/base: Allow mpd to access pulseaudiodevhell2019-06-291-0/+1
| | | | What would we do without Arch Linux' wiki, I wonder.
* modules/core: Fix eval for nix.binaryCachesaszlig2019-06-261-4/+2
| | | | | | | | | | | | | | | | | Besides using the default value from options, I could have just used mkOptionDefault back then when I was writing this, but fortunately using the default attribute from the option itself now resulted in an eval error. Had I used mkOptionDefault, the value just would have been silently changed to the default value, since in https://github.com/NixOS/nixpkgs/pull/63810 the default value now has priority 1000 instead of 1500 (mkOptionDefault). So since there is no longer an option default, we now can just set our binary cache in a singleton list (with priority 100) and be done. Signed-off-by: aszlig <aszlig@nix.build>
* machines/gunnr: Disable systemd-networkd-wait-onlinedevhell2019-06-261-0/+3
| | | | Still not working properly.
* machines/eir: Fix thermald brainfartdevhell2019-06-261-1/+1
|
* {machines,modules}: Split out thermald servicedevhell2019-06-264-1/+3
| | | | | | Now that my machine landscape also includes AMD, having a blanket `thermald` service running makes no sense. All Intel-based machines now have a `thermald` service explicitly enabled instead.
* machines/gunnr: Switch from btrfs to zfsdevhell2019-06-251-15/+20
| | | | | I've been wanting to test ZFS for a while now, and since 0.8 we have stable encryption and TRIM support for SSDs.
* machines/gunnr: Add allowed NTP time serverdevhell2019-06-241-0/+4
| | | | Everything is locked down, but thankfully we have an NTP running. Phew.
* machines/gunnr: Add xbindkeysdevhell2019-06-241-0/+1
| | | | Otherwise keyboard-controlled volume won't work.