about summary refs log tree commit diff
path: root/modules/user
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix deprecated displayManager.auto.enable optionaszlig2020-02-101-2/+3
| | | | | | | | | | | | | | | | Since a while[1], the services.xserver.displayManager.auto option is deprecated. Since first of all SLiM got removed and now every display manager supports auto-login, I switched the labtops module to use the LightDM implementation. Since the common x11 test module still exposes a similar interface, we only need to use the same options from the test-support option, which should hopefully be a "sane default" suitable for tests. [1]: https://github.com/NixOS/nixpkgs/commit/c95612a5a2d4bd93011c042066c Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* profiles/base: Add TT2020 fontdevhell2020-02-031-0/+1
|
* profiles/packages: Add termsharkdevhell2020-01-281-0/+1
|
* profiles/packages: Add httpiedevhell2020-01-161-0/+1
|
* profiles/packages: Add brootdevhell2020-01-131-0/+1
|
* profiles/{base,packages}: Add fira-code & taskelldevhell2020-01-112-0/+2
|
* devhell: rm/add general and specific packagesdevhell2020-01-031-5/+2
| | | | | | Trying to get around to cleaning out packages I don't need on a normal basis, this is the start of a number of future commits that will be dealing with cleaning up and optimising my package usage.
* profiles/packages: Add glowdevhell2020-01-021-0/+1
|
* machines: `consoleFont` and `consoleKeyMap` moved to `console`Profpatsch2019-12-222-4/+8
| | | | | | Fixes the evaluation warning. cc @aszlig @devhell @sternenseemann
* profiles/workstation: Remove xpdfaszlig2019-12-081-1/+0
| | | | | | | | | | | | | | | | | | | Package currently doesn't evaluate because: > Package xpdf-4.02 in ... is marked as insecure, refusing to evaluate. > > Known issues: > - CVE-2018-7453: loop in PDF objects > - CVE-2018-16369: loop in PDF objects > - CVE-2019-9587: loop in PDF objects > - CVE-2019-9588: loop in PDF objects > - CVE-2019-16088: loop in PDF objects While this might be fixed in the future, I'm removing the package anyway, because I'm using zathura for quite a while (since mid 2016 to be exact) and never used xpdf a single time since then. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/managed: Fix up renamed gvfs optionaszlig2019-12-081-1/+1
| | | | | | | | | | The option has been moved[1] out of services.gnome3 since quite a while, so let's actually use the new option "services.gvfs.enable" instead. [1]: https://github.com/NixOS/nixpkgs/commit/67ad8a788fe0a8c22910d68d470416b6f5626740 Signed-off-by: aszlig <aszlig@nix.build> Reported-by: @dwenola
* treewide: Remove all references to SLiMaszlig2019-12-082-46/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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-082-2/+2
| | | | | | | `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.
* profiles/packages: Add taizendevhell2019-12-071-0/+1
| | | | Nifty terminal wiki reader written in Rust.
* profiles/base: Explicitly enable gnupg and set pinentrydevhell2019-12-021-0/+4
| | | | Right now, I got no way of using Nitrokey. Yay.
* profiles/base: Remove ultimate fontconfig and corefontsdevhell2019-11-081-4/+0
| | | | These have been removed very recently.
* profiles/base: Add junicode and reactivate vista fontsdevhell2019-11-081-1/+2
|
* devhell/packages: Remove Py3 override for "john"aszlig2019-11-031-1/+1
| | | | | | | | | | | | Since NixOS/nixpkgs@582b92b9483428a0e40f276aff3da2d99bbe62c5, the "john" package now uses Python 3 by default, so the override does no longer work because the package no longer has a "pythonPackages" attribute. Luckily, the upstream change is doing exactly what's done here, so we can simply drop the override. Signed-off-by: aszlig <aszlig@nix.build> Cc: @devhell
* profiles/packages: Re-add starshipdevhell2019-11-031-0/+1
| | | | Removed it accidentally.
* profiles/packages: Fix typo in overridePythonAttrsdevhell2019-11-011-1/+1
|
* profiles/packages: Override virtinst python2devhell2019-11-011-1/+9
| | | | Similar to `john`. Thanks again to @aszlig :)
* profiles/packages: Override john with python 3devhell2019-11-011-1/+1
| | | | | I need john after all right now. This work-around was contributed, as usual, by the venerable @aszlig.
* profiles/packages: Disable johndevhell2019-10-311-1/+1
| | | | Until it's dependency on python 2 is removed.
* profiles/services: Niceify prompt icondevhell2019-10-271-1/+1
| | | | Looks less weird.
* profiles/packages: Also remove Pythondevhell2019-10-241-1/+0
|
* profiles/packages: Remove Python 2devhell2019-10-241-3/+0
|
* profiles/packages: Add starshipdevhell2019-10-141-0/+1
| | | | For when I feel funky.
* profiles/workstation: Add wcc to packagesaszlig2019-10-131-0/+1
| | | | | | | | | | | | | | This is the "Witchcraft Compiler Collection", which is VERY useful for reverse-engineering, especially when looking back at the work I've done with game packaging here in Vuizvui, I would have needed something like this a ton of times. I've mainly used radare2 for dissecting the binaries, but especially the "Witchcraft Shell" is quite useful to have. Thanks to @Profpatsch for pointing this out to me. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/base: Add U2F supportdevhell2019-10-121-0/+1
| | | | The missing sauce to get Nitrokey U2F to work.
* modules/devhell: Enable Nitrokey properdevhell2019-10-112-2/+2
| | | | | | | As per @aszlig's suggestion. Still doesn't work though :( However, I'll keep it in, just in case it'll work one day.
* machines/aszlig: Explicitly set useDHCPaszlig2019-10-081-0/+1
| | | | | | | | | | | | | | | | | | The usage of DHCP is no longer global since a while[1] and we now have to explicitly enable it for the interfaces in question. This actually is a good thing and makes it far less problematic if we use tunnel interfaces and other more complicated networking configuration. I added the definitions for all machines where I actually know which interfaces are in use and disabled useNetworkd for shakti, because I don't know the interface names for that machine and the machine currently isn't in use anyway, so we can add it later if needed. [1]: https://github.com/NixOS/nixpkgs/pull/69302 Signed-off-by: aszlig <aszlig@nix.build>
* profiles/base: Fix networking.useDHCP clashdevhell2019-10-081-1/+4
| | | | | | | | | | | | This addresses a new assertion to the way NixOS handles networks with networkd [1]. As a result this disables `networking.useDHCP` globally on all my machines. Explicit interface configuration, as requested by [1] will be handled in separate commits due to separate machines, not all of which I have access to right now. [1] https://github.com/NixOS/nixpkgs/pull/69302
* profiles/base: Add font Cascadia Codedevhell2019-10-031-1/+2
| | | | This new font by MS isn't bad.