about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* pkgs/profpatsch.de: add updated talkiesProfpatsch2020-07-183-45/+163
| | | | | | I’ve been expanding the list somewhat, it’s time to put them on the website. Moves them into a separate file, which was easier than expected.
* pkgs/profpatsch.de: prevent favicon requestsProfpatsch2020-07-181-0/+7
|
* pkgs/profpatsch.de: update id.txtProfpatsch2020-07-181-23/+21
| | | | | | | - Add Paris as location - bump date - Change XMPP account to headcounter.org - clearsign
* pkgs/profpatsch.de: add preloading directivesProfpatsch2020-07-182-1/+16
| | | | | | Those tell the browser that it’s going to need them later, even it hasn’t found them yet (e.g. the fonts can only be found after loading the CSS).
* workstation: Disable pull.rebase in Git configaszlig2020-07-161-0/+1
| | | | | | | | | | | | | | | | | | | | From the release notes of Git version 2.27.0: * "git pull" issues a warning message until the pull.rebase configuration variable is explicitly given, which some existing users may find annoying---those who prefer not to rebase need to set the variable to false to squelch the warning. This is exactly the warning which is annoying me all the time now, so in order to get rid of it, let's explicitly set the default behaviour (which is doing a recursive merge). Just to be sure that I really want the default behaviour, I analysed my shell history for invocations of "git pull" and only around 20% of the invocations were with --rebase, 14% were with an explicit URL (but no rebase) and the rest were recursive merges. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/packages: Add oneshotdevhell2020-07-151-0/+1
| | | | This seems useful.
* games/gog: Add Baldur's Gate I and IIaszlig2020-07-123-0/+133
| | | | | | | | | | | | | | Both are the enhanced edition from GOG. Packaging is mostly straightforward, although I had to use patchelf with a custom patch, since while --remove-needed removes the DT_NEEDED entries from the ELF it doesn't however remove the corresponding entries in the .gnu.version_r section. The reason why I did this is because we really should not need Expat and OpenSSL, because they're only used by the XMPP portions of the statically linked libjingle. Signed-off-by: aszlig <aszlig@nix.build>