about summary refs log tree commit diff
path: root/modules/user
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* 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>
* 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?
* pkgs/aszlig: Add Mutt configurationaszlig2020-08-081-1/+1
| | | | | | | | | | | | | | | | | | 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>
* 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>
* 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.
* 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>
* 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.
* 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.
* profiles/packages: Add iconsdevhell2020-07-101-1/+4
| | | | Stuff like `virt-manager` has broken buttons.
* profiles/base: Enable Nix experimental featuresaszlig2020-06-231-0/+1
| | | | | | | | I've had this in my configuration.nix for a while and since I got used to it, I think it's a good idea to enable both Nix Flakes and the "nix" command by default for all my machines. Signed-off-by: aszlig <aszlig@nix.build>
* modules/user/profpatsch/bitlbee: fix ConfigDirProfpatsch2020-06-191-1/+1
|
* modules/profpatsch/weechat: add wrapExecStartProfpatsch2020-06-191-4/+14
|
* modules/user/profpatsch/services: add bitlbeeProfpatsch2020-06-191-0/+89
| | | | Also add the service to legosi so I can use it from the weechat user.
* profiles/packages: Remove virtinst overridedevhell2020-06-181-9/+0
| | | | I'm fairly certain this isn't needed anymore.
* profiles/base: Remove hardware.u2fdevhell2020-06-161-1/+0
| | | | | | | According to [1], `udev` has gained native support for FIDO security tokens, and subsequently has been removed upstream. [1]: 89c3e73dad0970b26183e415555fb0379ba33e7a
* Revert "profiles/packages: Remove p7zip"devhell2020-06-161-0/+1
| | | | | | | As already stated otherwise in this log, it's back, so reverting the removal. This reverts commit 54b3f8ac7da02738be6919d05ae12d5c14796e3f.
* profiles/workstation: Revert replacing p7zipaszlig2020-06-151-1/+1
| | | | | | | | | | | | This reverts commit 64fdbcc7e0949a3d3bf1cee3361d5ebe5c56cc4c. It seems that there is now[1] a maintained version of p7zip and since I didn't get used to unar so far, I take this opportunity to switch back to p7zip. [1]: https://github.com/NixOS/nixpkgs/pull/90140 Signed-off-by: aszlig <aszlig@nix.build>
* modules/user/profpatsch: add programs/weechat moduleProfpatsch2020-06-151-0/+119
|
* profiles/packages: Add zstddevhell2020-06-091-0/+1
|
* modules/base: Fix bashdevhell2020-05-301-1/+0
| | | | I shouldn't be working today I think.
* modules/{base,packages}: Fix screendevhell2020-05-302-3/+1
| | | | Duh.
* modules/{base,packages}: Use programs.* wrapperdevhell2020-05-302-15/+22
| | | | | Replacing the simple inclusion of some programs in packages with their respective programs.* equivalent.
* modules/{packages,services}: Remove keybasedevhell2020-05-262-2/+0
| | | | Aquired by Zoom, no thanks.
* pkgs/aszlig/xournal: Switch to xournal++aszlig2020-05-211-1/+1
| | | | | | | | | | | | | The patch I added to xournal was for keeping the aspect ratio when annotating PDFs with images. However, looking at xournal++ the aspect ratio is kept by default when resizing via corners so the patch is not needed. Since I don't really care a lot whether it's xournal or xournal++ and as long as it does the very little things I intend to use it for, I don't mind if it has too many features for my taste. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/packages: Add signal-desktopdevhell2020-05-161-1/+2
| | | | Knew I forgot something in the last clean-up.
* devhell-wide: Remove unnecessary packagesdevhell2020-05-141-2/+0
| | | | Still a continuation of some housekeeping.
* zsh: Fix XTerm-specific shell initialisationaszlig2020-05-081-1/+1
| | | | | | | | | | | | | In 7faaaab0af1e30bdfb72eca02abdfe92efefe4e0, I've changed the TERM variable to contain "xterm-256color". However, in our shell initialisation, we check whether $TERM is "xterm" rather than whether $TERM *starts* with xterm. Doing the latter fixes title setting and home/end keys in Vi normal mode. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/workstation: Set XTerm colours to 256aszlig2020-05-071-0/+1
| | | | | | | | | | | So far I've been fine with just everything using 16 colours, but since I'm even using 256 colours in my own ASCII art spriting engine I think I can safely enter the 90ies and get some more colours. Of course, the XTerm version I'm using is already supporting 256 colors, it's just that the terminfo entry doesn't say so. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/workstation: Replace p7zip with unaraszlig2020-05-061-1/+1
| | | | | | | | | | | | | | A while ago, p7zip has been marked as insecure[1], and while I didn't use p7zip for any real archives, I used it for unrelated things like executables and ISO9660 images and of course occasionally also 7z files. While I haven't done extensive testing with unar, it does seem to have a similar feature set when it comes to non-archive formats and also has support for 7z archives as well. [1]: https://github.com/NixOS/nixpkgs/commit/aa80b4780d849a00d86c28d6b3c Signed-off-by: aszlig <aszlig@nix.build>
* profiles/packages: Remove p7zipdevhell2020-05-031-1/+0
| | | | | Unfortunately, development has seemingly ceased and has been marked as insecure in aa80b4780d849a00d86c28d6b3c78a777dd02e9a.
* treewide: Remove hardware.opengl.s3tcSupportdevhell2020-04-233-3/+0
| | | | | | | This option has been dropped upstream in 4732f59226a21b01d630c7ef4fb884bbfbe7dc83 Cc: @aszlig
* modules/services: Fix lightdm mini greeter borderdevhell2020-04-181-1/+3
| | | | | | | Since the latest update to `0.4.0` `lightdm` has added some more fine-grained options to how the greeter behaves. In this case it added a border around the password input box which doesn't look nice, so I'm making it vanish here.
* profiles/base: Switch back to latest kerneldevhell2020-03-041-1/+1
| | | | | With VirtualBox gone, I should be able to use the latest Linux kernel again. Yippie!
* profiles/services: Disable virtualboxdevhell2020-02-291-1/+1
| | | | | | | | | I've been trying to get away from VirtualBox for quite some time now. unfortunately work has been preventing me from ditching it. I've been doing some tests with virt-manager and, for now, I think it might be an okay replacement. The only problem is that I've not found a way to similarly export/import VMs in a convenient fashion which VirtualBox offers.
* profiles/base: Remove nerdfontsdevhell2020-02-261-1/+0
| | | | | Having added nerdfonts was a bad idea because it's 5G apparently. Let's not do this to aszlig's hydra.
* profiles/base: Add nerdfonts and cozettedevhell2020-02-251-0/+2
|
* devhell: Replace chromium with bravedevhell2020-02-221-1/+1
| | | | | | | | | I'm quite tired and bored of things like [1]. I can't find evidence that Brave has implemented this, so Brave will replace Chromium. [1]: https://www.chromestatus.com/feature/4733392803332096
* machines/{eir,gunnr}: Switch pamixer to profiledevhell2020-02-111-0/+1
| | | | Small but still valid step towards more de-DRYing.
* profiles/base: Temporarily pin Kernel versiondevhell2020-02-101-1/+1
| | | | | VBox doesn't build with the newest Kernel. So, best to stick with the old 5.4 for now.
* programs/mpv: Fix eval error for real this timeaszlig2020-02-101-5/+3
| | | | | | | | | | | When fixing the eval error in 67e921d264c7832ac97e39ef73df760a20ad2b47, I forgot about the fact that overrideAttrs doesn't reside in lib but instead is a package attribute. Since using "with lib;" is making it harder to quickly catch eval errors, I also removed it from the module. Signed-off-by: aszlig <aszlig@nix.build>
* treewide: Switch to displayManager.defaultSessionaszlig2020-02-104-15/+6
| | | | | | | | | | | | | | The option services.xserver.desktopManager.default and services.xserver.windowManager.default are deprecated since quite a while[1], so let's use the displayManager.defaultSession option instead. Additionally, there no longer is any need to explicitly disable the "xterm" desktopManager, so I removed that option as well. [1]: https://github.com/NixOS/nixpkgs/commit/8dc5ff7dcfd1c58c32004ffae25 Signed-off-by: aszlig <aszlig@nix.build> Cc: @devhell
* programs/mpv: Fix evaluation for installPhaseaszlig2020-02-101-2/+2
| | | | | | | | | | | | | | The package no longer[1] uses an installPhase but instead the same is now in postInstall. Since that module is pretty old I didn't use a fallback to an empty installPhase, so the evaluation fails now. Using postInstall along with a proper fallback should fix this, although I haven't tested whether $out/etc/mpv/mpv.conf is still recognised by mpv nowadays, we'll see... [1]: https://github.com/NixOS/nixpkgs/commit/542d7589568c2f3c6ac58c6e307 Signed-off-by: aszlig <aszlig@nix.build>
* programs/zsh: Set key timeout to 0.01 secondsaszlig2020-02-101-0/+1
| | | | | | | | | | | | | Since I'm using Vi keybindings, pressing the Escape key is something I do rather frequently. Having to wait for roughly a second after that gets pretty annoying after a while, so let's set the timeout to 0.01 seconds. This should usually be "small enough" to not interfere with other key sequences resulting in escape characters, but let's see how this will play out after a while. Signed-off-by: aszlig <aszlig@nix.build>
* programs/mpv: Don't youtube-dl videos > 1080paszlig2020-02-101-0/+1
| | | | | | | | Since more and more "Ultra HD" videos are out there, it really doesn't make any sense to play such big resolutions if the monitor only is a 1080p display. Signed-off-by: aszlig <aszlig@nix.build>