about summary refs log tree commit diff
path: root/modules/user/aszlig/services
Commit message (Collapse)AuthorAgeFilesLines
* slylandro: Remove hidpi specific settings for nowaszlig2023-04-092-3/+1
| | | | | | | | | | | | | | | | | This reverts commit c88fd9eaa12c8a3c06502b09c2056d3c91421952. The hardware.video.hidpi.enable option was removed a while ago[1] because it's not clear what a single boolean option should mean, so it doesn't make sense anymore to make any of our options depend on it. Forthermore, I'm experimenting with different Wayland compositors at the moment and most of the stuff that I did here is for Xorg. I expect most of the stuff to be gone when I'm settled with a Wayland setup that works for me. [1]: https://github.com/NixOS/nixpkgs/pull/222689 Signed-off-by: aszlig <aszlig@nix.build>
* i3: Really add global fullscreen toggleaszlig2022-11-201-2/+2
| | | | | | | | | My mind must have been in a weird state when I wrote 20bfcfe5dd3a5203cb58f489bc01ddd0729dea3e, because I just added yet another keybinding for the same *normal* fullscreen toggling key instead of actually using the "fullscreen toggle global". Signed-off-by: aszlig <aszlig@nix.build>
* i3: Add keybinding for fullscreen across all headsaszlig2022-11-011-0/+3
| | | | | | | While I don't use it very often, it's sometimes quite useful for example for watching movies across both monitors. Signed-off-by: aszlig <aszlig@nix.build>
* Fix attribute name for iproute2aszlig2022-09-261-1/+1
| | | | | | | | | | | The attribute has been renamed[1] to iproute2 a while ago and recently the alias was converted to a throw[2], so let's do the rename on our side as well. [1]: https://github.com/NixOS/nixpkgs/commit/20a9caf0a474e182909ac850fa6 [2]: https://github.com/NixOS/nixpkgs/commit/d06207386df9a53fe01f8a30130 Signed-off-by: aszlig <aszlig@nix.build>
* Use a font point size of 10 on hidpiaszlig2022-09-052-1/+3
| | | | | | | | | With my new laptop, a font size of 12pt is rather large and given that hidpi displays usually have a quite large resolution (the name might hint at that), we don't necessarily need to use embedded bitmaps anymore which was one of the reasons why I used a point size of 12. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/workstation: Add Flameshotaszlig2021-02-132-0/+6
| | | | | | | | | | | So far I've almost exclusively used scrot for screenshots, but most of the time I used an image manipulation program to pixelate stuff, add descriptions or draw arrows. Flameshot combines this in a single application, so I expect that from now on I can spam-post screenshots in even a higher rate than before ;-) Signed-off-by: aszlig <aszlig@nix.build>
* pprofiles/workstation: Use true type VGA fontaszlig2020-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* treewide: Switch to displayManager.defaultSessionaszlig2020-02-101-2/+0
| | | | | | | | | | | | | | 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
* treewide: Remove all references to SLiMaszlig2019-12-081-45/+0
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following evaluation error: The option `services.xserver.displayManager.slim' can no longer be used since it's been removed. The SLIM project is abandoned and their last release was in 2013. Because of this it poses a security risk to your system. Other issues include it not fully supporting systemd and logind sessions. Please use a different display manager such as LightDM, SDDM, or GDM. You can also use the startx module which uses Xinitrc. Here is the nixpkgs upstream pull request removing SLiM: https://github.com/NixOS/nixpkgs/pull/73251 Since I was using a custom theme for SLiM and actually liked the minimalism, it's probably time to start patching LightDM soon. For now however, I'll stay with a default LightDM configuration and wait until I'm getting annoyed :-) Signed-off-by: aszlig <aszlig@nix.build>
* treewide: use `runCommandLocal` where applicableProfpatsch2019-12-081-1/+1
| | | | | | | `runCommandLocal` was added to nixpkgs in https://github.com/NixOS/nixpkgs/pull/74642 to speed up trivial `runCommand` derivations by always building them locally. We have a few places where that’s good to use.
* modules/vlock: Allow to change the user nameaszlig2019-03-111-1/+11
| | | | | | | | | | | | When writing that module back then in 88a10f1a6e2ea172ff985f64bfcf82e2, I had to work around a systemd limitation (which I need to check whether this is still the case today) and hardcoded the user name for the time being. While it's still quite ugly, there was interest from @Profpatsch, so I decided to add an internal option to change that username. Signed-off-by: aszlig <aszlig@nix.build>
* Revert "services/i3/conky: Fix segfault"aszlig2018-02-261-9/+2
| | | | | | | | | This reverts commit 9dc27c57880db6469865dc2e6aaf295665c681a3. The patch already was from upstream master and it found its way into the new release, so we no longer need it. Signed-off-by: aszlig <aszlig@nix.build>
* services/i3/conky: Fix segfaultaszlig2018-02-011-2/+9
| | | | | | | | | | | We're using "out_to_x = false" because we only want output to stdout, unfortunately since conky version 1.10.7, this causes a segfault which is tracked in upstream issue brndnmtthws/conky#454. The patch I'm using here was submitted and merged upstream in brndnmtthws/conky#455 and it's not yet part of a release yet. Signed-off-by: aszlig <aszlig@nix.build>
* modules/aszlig: Cope with new xrandrHeads optionsaszlig2017-06-181-2/+2
| | | | | | | | | | | | | | | The way xrandrHeads are addressed has changed with the following upstream merge commit: NixOS/nixpkgs@9dca737d6269759745c9e68ea462446cde4d9be9 Now xrandrHeads are no longer a list of strings but a list of attribute sets, but we new do have even more information about a particular head. So apart from fixing this, we new also set --primary whenever applicable in "xreset". Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs: Move all of my packages into pkgs/aszligaszlig2017-04-232-2/+2
| | | | | | | | | | | | | This already has started in e0abe1dbbda54c1f048b5d38df05e1a3289216a6 with @Profpatsch putting his packages into its own namespace, so let's continue on that and move my crap into my own namespace as well. The only difference in my approach is that I'm now also using a new function called callPackageScope, which declutters pkgs/default.nix a bit and moves the individual callPackage invocations into aszlig/default.nix. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/i3/conky: Fix weather URLaszlig2016-10-181-1/+1
| | | | | | | The URL has changed, see brndnmtthws/conky#325 for the fix in upstream conky. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3/conky: Suppress output to stderraszlig2016-07-131-1/+2
| | | | | | | | | | | | | i3bar seems to close the FD for stderr, so conky will get a broken pipe error when writing error messages to stderr. Of course in the long run it's better to log these errors somewhere where they can be inspected later. But for now, it's better than terminating i3bar altogether, because that's really annoying ;-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* tests: Remove dummy test for i3aszlig2016-05-281-2/+0
| | | | | | | | | | | | We already have an "i3wm" test in upstream <nixpkgs> which is much more thorough than the unfinished test I've made here. The intention of this test however was to specifically test the Vuizvui service module. Nevertheless, it's still just a dummy test and the "i3wm" test works much better, so let's remove it until we have a more complete implementation. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/slim: Fix imagemagick/mogrify invocationaszlig2016-05-281-2/+2
| | | | | | | Since NixOS/nixpkgs@73f1f5e, we have to refer to imagemagick.out for the binaries, because we otherwise end up with the .dev output. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Make requiresTests a list of paths.aszlig2015-12-111-2/+2
| | | | | | | | | | | Unfortunately, we went into trouble and the Hydra machine not only consumed lots of ram during evaluation but it also triggered a bunch of evaluation errors because the available tests were strictly evaluated. Using attribute paths consisting of plain strings doesn't have the same problem, even though they look a bit uglier. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* services/i3: Add i3 test to requiresTests.aszlig2015-12-111-20/+24
| | | | | | | | We have that i3 dummy test in here for quite a long time, so it's actually time that the test will mean anything (even though the test really isn't doing anything right now). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* services/vlock: Fix evaluation error.aszlig2015-12-081-1/+1
| | | | | | | | Regression introduced by 5e1ad35657c05f409a29ddc7a29501fc611111b0. Geesh, that's what happens if you're already tired out. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* services/vlock: Only include socket when enabled.aszlig2015-12-081-21/+23
| | | | | | | | Just stumbled over this... even systems that do not define vuizvui.user.aszlig.services.vlock.enable accidentally got the socket file, which now is no longer the case. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* services/i3/conky: Use new config file format.aszlig2015-12-011-14/+17
| | | | | | | | | Since Conky 1.10.x there is a new LUA-based configuration file format. The old config file format is still supported and converted on-the-fly, but it might be removed in future versions, so let's move ahead. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Handle all <nixpkgs> paths with nixpkgs-path.nix.aszlig2015-04-291-1/+4
| | | | | | | | | This file is just defaulting to <nixpkgs>, but we're going to substitue it by the channel generator. We also need to make sure that we don't have any other references to <nixpkgs>, but the latter can best be done on Hydra's side if we don't make <nixpkgs> available to vuizvui builds. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* services/i3: Fix override of default workspaces.aszlig2015-04-081-8/+9
| | | | | | | | | | By default, there are 10 workspaces defined and since the module system changes, we need to assign default priorities to all values instead of the full attribute set, because whenever there is an override of the default, the whole attrset is replaced by the override instead of just the values. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Remove references to pkgs.lib within modules.aszlig2015-04-042-3/+3
| | | | | | | | We now no longer can (or even should) refer to pkgs.lib within modules since the merge of the module system improvements in NixOS/nixpkgs@889f72b. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* conky: Fix argument for weatherMetar support.aszlig2015-03-311-1/+1
| | | | | | This was renomed in NixOS/nixpkgs@8591b7b. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Refactor overrides into my base profile.aszlig2015-03-182-2/+3
| | | | | | | | | | | | | | | | | Just moving the overrides into the base profile isn't enough here, as we wouldn't be able to refer to packages anymore, because the global nixpkgs.config override is now gone. Instead, we're now putting pkgs.vuizvui.* into the NixOS module system by a new profiles/common.nix, which is used unconditionally for all machines. Of course, the result of this is that we now need to change all references to vuizvui-related packages, which also is a good thing, because we will no longer shadow existing packages from upstream nixpkgs. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Move my modules into category dirs.aszlig2015-03-188-0/+619
Signed-off-by: aszlig <aszlig@redmoonstudios.org>