about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* aszlig/gopass: Downgrade to version 1.9.2aszlig2020-09-171-5/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Version 1.10.X switches the default to new MIME-based format which breaks interoperability with pass and other implementations. I'd gladly switch to that format, but the 1.10.0 changelog also announces plans to remove support for GnuPG and Git in the long term: > The goal is to remove the support for multiple backends and any > external dependencies, including git and gpg binaries. GnuPG and Git support is the reason why I started using pass and ultimately switched to gopass. If the latter stops being a viable password manager, switching back to pass will be much harder with the new MIME format. There is also an upstream issue[1] about this and while I haven't read through *all* the comments, other people seem to have similar reasons for switching to gopass. So far however I'm not convinced that my use case will have a future with gopass, so I'll stay at 1.9.x until I've had the time to properly research other options or maybe even stay with gopass (and go all-in with the new MIME format). [1]: https://github.com/gopasspw/gopass/issues/1365 Signed-off-by: aszlig <aszlig@nix.build>
* machines/legosi: use gzip and optimization for nginxProfpatsch2020-09-161-0/+2
|
* pkgs/profpatsch.de: use font-display: swap to improve page loadProfpatsch2020-09-161-0/+4
|
* Use attribute sets for boot.initrd.luks.devicesaszlig2020-09-147-35/+33
| | | | | | | | | | | | | | | | | | | | This was one of the places where types.loaOf was still in place and it got removed a while[1] ago and this in turn causes evaluation to fail for quite a few machines: The option value `boot.initrd.luks.devices' in `...' is not of type `attribute set of submodules'. I've not only changed all the machines to use attribute sets but also fixed the check in core/tests.nix, because comparing against a list when the actual type is an attribute set will result in all the LUKS tests to be part of *all* channels, no matter whether you're actually using LUKS. [1]: https://github.com/NixOS/nixpkgs/commit/20d491a317d9956ddca80913f07 Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch Cc: @sternenseemann
* dnyarri: Enable Wacom tablet supportaszlig2020-09-141-0/+1
| | | | | | | | I've had this laying around in my configuration.nix since quite a while, but today is one of those days where I can't stand all the cruft piling up there anymore and decided to add it here. Signed-off-by: aszlig <aszlig@nix.build>
* devhell/packages: Remove gstreamer packageaszlig2020-09-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The package attributes for GSstreamer 0.x were dropped[1] a while ago, so evaluating the packages no longer succeeds and instead we get an error like this on Hydra: error: undefined variable 'gstreamer' at .../profiles/packages.nix:129:7 Initially I was tempted to change this to use pkgs.gst_all_1.gstreamer, but looking at the differences between the old pkgs.gstreamer, the new package only contains the relevant libraries while the old one contains a few binaries, namely gst-feedback, gst-inspect, gst-launch, gst-typefind, gst-xmlinspect, gst-xmllaunch and all of them again with a "-0.10" suffix. All of these tools are development tools and should not be used in real applications, for example from the manual[2] on gst-launch-1.0: > Please note that gst-launch-1.0 is primarily a debugging tool. You > should not build applications on top of it. For applications, use the > gst_parse_launch() function of the GStreamer API as an easy way to > construct pipelines from pipeline descriptions. While environment.systemPackages does link other directories than just $out/bin, the primary reason why you'd want to put something in there is to make it available in the system's PATH. When asking @devhell about this he didn't remember the exact reason why he put gstreamer in systemPackages, so I can only *assume* it was because of tools like gst-launch, which unfortunately even I can remember seeing recommended (instead of eg. ffmpeg) in some dark corners of the web. So if this would be really about gst-launch, we would need to put in pkgs.gst_all_1.gstreamer.dev into systemPackages, since the development tools are now where they belong. Given that @devhell doesn't know the reason anymore and *also* told me to remove it *and* it's also just a development tool which is not supposed to be used in production, I'm hereby removing the package. Should there really be applications which rely on this, they should hopefully break after this change so they can be fixed to not rely on these development tools. [1]: https://github.com/NixOS/nixpkgs/commit/4a4e642abaaa026b55f42248a7b [2]: https://gstreamer.freedesktop.org/documentation/tools/gst-launch.html Signed-off-by: aszlig <aszlig@nix.build> Cc: @devhell
* sandbox: Only mount new procfs instance for PID nsaszlig2020-09-112-6/+18
| | | | | | | | | | If we don't have a PID namespace, we're not allowed to mount a new procfs instance and subsequently get an error (EPERM). To cope with this, we're now bind-mounting /proc just like the other pseudo file systems IFF we're not using the CLONE_NEWPID flag. Signed-off-by: aszlig <aszlig@nix.build>
* sandbox: Allow to enable/disable namespacesaszlig2020-09-114-4/+49
| | | | | | | | | | | | | | | | | | | | While the sandbox was initially written for games, I now use the implementation for other things, such as sandboxing database management systems inside "nix develop". However, both MariaDB and PostgreSQL do not like it very much if for example IPC is too restricted and if the PID file contains the PID of the process inside the namespace. Additionally I always wanted to have a way to enable network namespaces for games as well, so this is a good occasion to make them configurable. Of course, since we need the mount and user namespaces to implement our sandbox in the first place, we can't allow users to disable these namespaces, but for everything else, we now have a new "namespaces" attribute. Signed-off-by: aszlig <aszlig@nix.build>
* modules/gnupg: Use getLib to get systemd libraryaszlig2020-09-081-1/+1
| | | | | | | | | | | | | A recent change[1] has removed the lib output from the systemd package, so our GnuPG agent wrapper no longer compiles. Using getLib falls back to the "out" output if the "lib" output is unavailable and should be backwards- and forwards-compatible (in case the "lib" output is added back someday). [1]: https://github.com/NixOS/nixpkgs/commit/b68bddfbda2092c5fde2c4cece2 Signed-off-by: aszlig <aszlig@nix.build>
* Add basic flake.nixaszlig2020-09-081-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately, most of the functionality can't be easily exposed via Nix Flakes, so this will be a very limited Flake with only our NixOS modules and our packages as an overlay. One of those things that are very hard to expose are our packaged games, since the availability of them are dependent on the configuration (eg. GOG, itch.io or HIB credentials). Even when it comes to buildSandbox - which is the main reason why I'm adding a flake.nix - I am not so sure what's the best way to expose it. For example on one side, this could be exposed as vuizvui.lib.buildSandbox, which in turn expects a pkgs argument, but on the other side, we want to have certain other parts that *do* depend on a locked version of nixpkgs. Using pkgs as part of a "lib" attribute also sounds a bit weird to me, since lib usually doesn't contain anything depending on stdenv. So until we have a better way of integration, I'll just expose the overlay and our NixOS modules. Signed-off-by: aszlig <aszlig@nix.build>
* modules/gnupg: Remove "with lib;" on whole moduleaszlig2020-09-081-17/+17
| | | | | | | | | | | | Using "with lib;" over such a broad scope makes it more difficult to detect early evaluation errors since we need to evaluate the whole system to check whether a non-existing attribute set is actually using the "lib" fallback or whether it really exists in the current scope. This makes "nix-instantiate --parse" feasible for detecting typos early on. Signed-off-by: aszlig <aszlig@nix.build>
* machines/eir: Remove unnecessary packagesdevhell2020-09-061-4/+0
| | | | A bit more cleanup.
* machines/haku: set NIX_PATH to filtered pkgs.pathProfpatsch2020-08-301-2/+13
| | | | | | | | | | | | This is a step towards a saner deployment for these machines. The NIX_PATH is fixed, so that everything on the running system always uses exactly the nixpkgs version the system was deployed with. The deployment is done by copying the system closure and switching to it via the `bin/switch-to-configuration` script. Uses the reference to pkgs.path, and applies filterSourceGitignore on the directory, since I often deploy from a local checkout which is half a GB without the gitignore filter.
* pkgs/profpatsch: bump nixperimentsProfpatsch2020-08-301-4/+8
| | | | Improvements to filterSourceGitignore were made.
* machines/haku: add data-seeding groupProfpatsch2020-08-301-0/+3
| | | | used for access to /data/seeding
* machines/haku: remove rtorrentProfpatsch2020-08-301-1/+0
|
* pkgs/profpatsch: add lru-dirProfpatsch2020-08-292-0/+77
|
* tests: Switch all tests to Python test driveraszlig2020-08-297-178/+165
| | | | | | | | | | | | | | | | | | | | | Since the removal[1] of the Perl test driver, our tests will no longer run or even evaluate. Fortunately, the test API is more or less the same, so the transition to Python was not very involved. However, I did add a "# fmt: off" on top of every testScript, since formatting with black not only has issues with parameterised antiquotations but is also plain ugly to mix 2 spaces of indentation with 4 spaces of indentation. Additionally, I'd like to have a maximum line length of 79 characters in my Nix expressions while black on the other side even *insists* of using longer lines. [1]: https://github.com/NixOS/nixpkgs/commit/0620184f3f94f1bf8de014ab168 Signed-off-by: aszlig <aszlig@nix.build>
* machines/{hildr,gunnr,eir}: xrdb use Nord colorsdevhell2020-08-273-48/+144
| | | | I've grown quite fond of this colorscheme. At least for now.
* profiles/packages: Add piprdevhell2020-08-231-0/+1
| | | | This is really useful.
* profiles/services: compton -> picomdevhell2020-08-211-2/+4
| | | | | At some point compton was renamed to picom, we have an alias for it, but I feel better if it's using the new name.
* machines/shiki: improve font settingsProfpatsch2020-08-211-11/+26
| | | | | | Explicitely set default fonts for (sans)serif, monospace and emoji. Add Noto Color Emoji as emoji font.
* pkgs/profpatsch: remove erroneously exported symbolsProfpatsch2020-08-201-3/+0
|
* machines/legosi: activate syncthing & connect mushuProfpatsch2020-08-201-0/+21
|
* modules/profpatsch/weechat: add a workaround to attach ssh directlyProfpatsch2020-08-201-2/+6
| | | | | | | | | | | | | | So far we directly start a mosh-daemon when the user connects. This breaks down in situations where UDP is blocked (e.g. some hotspots). In that case, ssh can be used directly: Example: ssh -t weechat@legosi ssh The ssh argument tells it to connect directly. Note the `-t`, which forces a pseudo-tty, otherwise tmux will complain that it can’t find a terminal.
* machines/legosi: set min-free to 3G and optimize storeProfpatsch2020-08-201-8/+16
|
* machines/shiki: use imv instead of fehProfpatsch2020-08-202-2/+2
|
* core/tests: Remove mesosdevhell2020-08-191-4/+0
| | | | | | | This has also been removed [1] upstream and therefore needs to be removed here. [1]: https://github.com/NixOS/nixpkgs/commit/b2f3bbd3fb958601a7357e39d66f226e065d76c1
* core/tests: Remove mathicsdevhell2020-08-191-3/+0
| | | | | | | This package, the module and its test have been removed [1], so to unbreak Hydra we need to remove it as well. [1]: https://github.com/NixOS/nixpkgs/commit/aebf9a4709215c230e5841d60e2
* profiles/base: Remove showManual option definitionaszlig2020-08-161-2/+0
| | | | | | | | | | | | | | The option has been removed upstream[1] and it only has been true by default for a very small time frame in 2014[2] and I believe even earlier (before the nixos -> nixpkgs merge) there was another occasion where it defaulted to true. However, with the option gone, this is now no longer necessary. [1]: https://github.com/NixOS/nixpkgs/commit/aebf9a4709215c230e5841d60e2 [2]: https://github.com/NixOS/nixpkgs/commit/b792394119b8ffc4a2fd34a6704 Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/vim: Add syntax/indent plugin for Fluentaszlig2020-08-141-0/+7
| | | | | | | | | | | | For translations there is a nice web interface called Pontoon[1], which should it make conventient to edit translations. However, for developers like me I'd call this quite inconvenient, so I need a Vim plugin to make it at least more pleasing to look at :-) [1]: https://github.com/mozilla/pontoon Signed-off-by: aszlig <aszlig@nix.build>
* profiles/base: Investigate oldschool pc font packdevhell2020-08-101-0/+2
| | | | | | Similar to aszlig, I have fond memories of these fonts. I've not been able to use them though because of my work. Maybe these will work better, and v2 of these fonts will hopefully land in nixpkgs soon too.
* profiles/packages: Switch from gotop to ytopdevhell2020-08-101-1/+1
| | | | | Same look, but written in rust and the binary is smaller too, what's not to like?
* vim: Update Nix addon to latest masteraszlig2020-08-081-2/+2
| | | | | | | | | | | | While being at it, let's bump the Nix syntax/indentation plugin to the latest version, since there are a few quirks that were annoying me since quite a while but I was too lazy to actually fix. I haven't checked whether the latest version fixes these quirks since I don't know them on top of my head, but if it doesn't I surely will stumble on them soon enough. Signed-off-by: aszlig <aszlig@nix.build>
* vim: No longer set termencoding to "ascii"aszlig2020-08-081-1/+0
| | | | | | | | | | So far I had termencoding set to "ascii", because my terminal was only really able to display ASCII characters and nothing else. Since this is no longer the case, we can also get rid of this restriction in my Vim configuration. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/aszlig: Add Mutt configurationaszlig2020-08-083-2/+225
| | | | | | | | | | | | | | | | | | I've been using this configuration since years already but so far it has been residing in ~/.muttrc and I copied to new machines accordingly. The reason why I didn't add it here was because the config was too ugly and I never got so far as to properly re-do it. Unfortunately, the config is still ugly as hell, but at least we now generate it from a structured Nix format and also the IMAP/SMTP user and server infos are now retrieved via gopass instead. This also includes my small prank multipart/alternative filter, which should hopefully "encourange" recipients to disable HTML parsing/rendering. Signed-off-by: aszlig <aszlig@nix.build>
* gopass: Drop patch for using ASCII symbols onlyaszlig2020-08-082-18/+0
| | | | | | | | With the switch to a proper Unicode capable font, we no longer need to patch gopass and simply can now enjoy a proper tree view and also one less patch to maintain. Signed-off-by: aszlig <aszlig@nix.build>
* pprofiles/workstation: Use true type VGA fontaszlig2020-08-082-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The DOSEMU fonts we were using so far for CP437 were bitmap fonts only and with no unicode support. Luckily there is https://int10h.org/oldschool-pc-fonts/ - which is a really cool font pack containing all the cool oldschool fonts that I remember from my childhood and still use today for creating ASCII art. Since we recently* hit the 21st century, I think it's about time that even I should start having terminals with proper Unicode support. The latter is already the case, but the glyphs just didn't display correctly. The font that I switched to (MxPlus IBM VGA 8x16) is using embededd bitmaps, so I also enabled useEmbeddedBitmaps option, so that the font still looks as crisp as the old DOSEMU font. To make sure it really is the same font, I compared screenshots of all the CP437 characters with the new font and they match the old font 1:1. I also removed the liberation_ttf font, since it's already included by the default NixOS font configuration. * -> Your mileage may vary, but hey, the 90ies were yesterday, right? Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/psi: Increment date in version numberaszlig2020-08-071-1/+1
| | | | | | | | | | | | | | | I really don't have a lot of other things to blame for forgetting this in the first place, but let's just assume that the temperatures here right now are higher than I'm used[TM] to and thus my brain wasn't working. On the other hand while writing this I also took a peek and aparently it's around 20 degree celsius right now, which would be... well... ... okay, I just forgot about that and I feel ashamed now. Go on! Nothing to read here! Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/profpatsch/nman: use --no-out-link for nix-buildsternenseemann2020-08-071-1/+1
| | | | Before, nman had a habit of leaving result* links lying around.
* pkgs/psi: Update to latest upstream masteraszlig2020-08-073-55/+22
| | | | | | | | | | | | | | | | The latest master version no longer crashes on Jingle file transfer requests. So alongside updating to the latest Git version, I also dropped the patch disabling Jingle. Another reason for updating is simply because the client version already feels old (heck, it's been February since the last update) and I'm really craving for fresh new bugs. I rebased the patch for the default configuration against current master with no changes in configuration (only obsolete stuff removed) and fixed the move of the src/plugins directory to the project's root directory. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/packages: Replace weechat with irssidevhell2020-08-071-1/+1
| | | | | | I'm really not digging the fact that weechat _constantly_ changes stuff in it's config directory. Makes keeping it under version control a pain in the ass.
* pkgs/profpatsch/display-infos: use high voltage signProfpatsch2020-07-291-1/+1
| | | | | | | The other lightning is not an official Unicode codepoint, so most fonts don’t have it. Thanks sterni!
* workstation/packages: Add "entr"aszlig2020-07-281-0/+1
| | | | | | | | | | | | | I regularily keep things in nix-env to see whether I keep using them and "entry" is one of the little tools I ended up using quite regularily. The program monitors a set of files via inotify and runs a command whenever one or more of them change, which makes it quite useful for a "change code, compile, run" cycle. Upstream URL: https://eradman.com/entrproject/ Signed-off-by: aszlig <aszlig@nix.build>
* dnyarri: Add youtube-dl support to gPodderaszlig2020-07-281-1/+5
| | | | | | | | | | | | | | I'm using gPodder to follow a bunch of YouTube channels and the internal extractor/downloader tends to be pretty unreliable. On the other hand, youtube-dl is regularily updated and supports a ton of different formats. To make sure we can actually use the extension, gPodder needs to have access to the youtube_dl Python module, so we need to add it to the propagatedBuildInputs. Signed-off-by: aszlig <aszlig@nix.build>
* games/crosscode: Update to version 1.3aszlig2020-07-281-2/+2
| | | | | | | | | | | | | | | | This adds a new exclusive PC version quest, which is accessible in the end game (after you acquired the Meteor Shade) and can be found in Ba'kii Kum. Version 1.3.0 additionally adds new combat attacks for certain (later) party members that were lacking in that regard. There are also tons of smaller changes under the hood for the upcoming DLC. Full upstream announcement: https://www.radicalfishgames.com/?p=6983 Signed-off-by: aszlig <aszlig@nix.build>
* Revert "profiles/base: Allow mpd to access pulseaudio"devhell2020-07-271-1/+0
| | | | | | Whatever the case, I don't want this anymore. This reverts commit 04bbb9966ba29fca3026a606adaa42a8a415523b.
* profiles/packages: Add ugrepdevhell2020-07-251-0/+1
| | | | This seems to be useful.
* pkgs/profpatsch.de: minor improvements to talkie textsProfpatsch2020-07-191-4/+4
|
* pkgs/profpatsch.de: add key.ascProfpatsch2020-07-192-0/+944
| | | | It’s referenced in id.txt, but I forgot to add it.