about summary refs log tree commit diff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* profiles/workstation: Add perf to systemPackagesaszlig2022-08-151-5/+8
| | | | | | | | I use perf on a regular basis and since it's dependant on the currently running kernel version, it' just makes sense to have it available at all times rather than "nix run" it with the right kernel version. Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Remove nixos.docker-edgeaszlig2022-08-151-4/+0
| | | | | | | | The package has been removed and we're getting the following eval error: error: 'docker-edge' has been removed, it was an alias for 'docker' Signed-off-by: aszlig <aszlig@nix.build>
* profiles/managed: Remove TLPaszlig2022-08-151-2/+0
| | | | | | | | | | | | | | Right now we're getting an eval error like this: Failed assertions: - You have set services.power-profiles-daemon.enable = true; which conflicts with services.tlp.enable = true; Since the machines in question are for desktop environment users, TLP doesn't make a lot of sense. Besides, the option should not be defined in managed.nix anyway, because it's a hardware-specific option. Signed-off-by: aszlig <aszlig@nix.build>
* packages: Replace jwhois by whoisaszlig2022-08-151-1/+1
| | | | | | | | | | | | | | | | The upstream project seems to be no longer maintained[1] and the last release from 2005 contains a whole bunch of outdated NIC information so that it became pretty annoying to use. Back then jwhois was the only whois client packaged in nixpkgs, so this might be the reason why it ended up in my setup in the first place. The "whois" package on the other hand seems to be actively maintained and works well for the domains I care about. [1]: https://github.com/jonasob/jwhois/issues/32 Signed-off-by: aszlig <aszlig@nix.build>
* profiles/base: Use XKB config for console keymapaszlig2022-08-031-1/+2
| | | | | | | | | | | | This is mainly for having a consistent and central way to define our keybord config. The main reason for doing so is because of Slylandro, which comes with a keyboard that has a caps lock key atop the left shift key and it drives me mad. Since I'd like to keep things DRY, let's just use XKB for everything keymap-related. Signed-off-by: aszlig <aszlig@nix.build>
* programs/git: Fix path for sysdir.caszlig2022-08-021-1/+1
| | | | | | | | Since libgit2 version 1.5.0, sysdir.c is in a subdirectory called "libgit2", which was made to distinguish the sources from the ones in the CLI tool and util. Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Don't access removed graphite optionsaszlig2022-07-141-2/+1
| | | | | | | | | | | | | | | The options in services.graphite.api and services.graphite.beacon got[1] removed[2] in nixpkgs because the upstream project doesn't seem to be maintained anymore. More information can be found at: https://github.com/NixOS/nixpkgs/pull/180950 [1]: https://github.com/NixOS/nixpkgs/commit/1f18d441063208968f38bed0fe5 [2]: https://github.com/NixOS/nixpkgs/commit/ada1d87767b8826ea6233952279 Signed-off-by: aszlig <aszlig@nix.build>
* services/upower-minimal: use empty config by defaultProfpatsch2022-06-271-3/+1
| | | | | | I think the `null` still came from the nixpkgs module. Not sure whether upower will like an empty config file, but we’ll see.
* modules/hardware/thinkpad: Explicit libProfpatsch2022-06-261-9/+6
| | | | Yay static linting.
* modules/hardware/thinkpad: Default intel.updateMicrocode to trueProfpatsch2022-06-261-0/+5
| | | | | | | | Not updating the microcode on thinkpads is kind of a death sentence for some kernel updates, so let’s do it by default. In case somebody uses it for an AMD thinkpad in the future, we might have to check whether the option creates a problem.
* machines/legosi: add weechat-qwerkyProfpatsch2022-06-261-32/+51
| | | | | Changes the weechat setup so that I can have multiple instances, each gets their own unix user & separate weechat instance.
* modules/Profpatsch/weechat: Add the matrix scriptProfpatsch2022-06-261-1/+10
|
* modules/sternenseemann/sway: display »Kalenderwoche« in the status barsternenseemann2022-06-241-0/+6
|
* profiles/packages: Purge some unneeded stuffdevhell2022-05-311-3/+0
|
* profiles/base: Remove noisetorchdevhell2022-05-251-1/+0
| | | Which has apparently been compromised upstream. Yay.
* profiles/base: Fix deprecated SSH config optionaszlig2022-05-141-3/+3
| | | | | | | | | | | | | | | | | | This gets rid of the following warning: trace: warning: The option `services.openssh.challengeResponseAuthentication' defined in `.../modules/user/aszlig/profiles/base.nix' has been renamed to `services.openssh.kbdInteractiveAuthentication'. The option actually didn't make sense in the first place because it was an alias leftover from SSH 1. I also changed the priority for the OpenSSH options from 1000 to 500 to avoid any future conflicts should the upstream module use mkDefault one day. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/workstation: Allow unraw via sysrqaszlig2022-05-141-0/+3
| | | | | | | | | | I just was forced to reboot my workstation while working on a program that sets the VT into raw mode but finding out that the unraw key now doesn't work anymore. This used to be the case but with the sysctl include that comes with systemd-coredump, the kernel.sysrq value defaults to only allowing sync (16). Signed-off-by: aszlig <aszlig@nix.build>
* profiles/packages: youtube-dlp -> yt-dlpdevhell2022-05-131-1/+1
| | | | Cos I'm an idiot at this time of night.
* profiles/packages: youtube-dl -> youtube-dlpdevhell2022-05-132-1/+3
| | | | `youtube-dl` is dead, long live `youtube-dlp`!
* profiles/packages: Remove musikcubedevhell2022-05-121-1/+0
| | | | With `termusic` in the repos there's no need for musikcube.
* profiles/packages: Add nixpkgs-reviewdevhell2022-05-111-0/+1
| | | | Hot-loading this is getting annoying, so I'll just add it.
* profiles/packages: Remove monkeysAudiodevhell2022-04-251-1/+0
| | | | | | I've not come across anyone actually using this. Additionally, it's not OSS, so there's not much reason to keep it around. Oh, and the build fails.
* profiles/packages: Remove cipherscandevhell2022-04-071-1/+0
| | | Was removed from nixpkgs upstream.
* profiles/packages: Add easyeffectsdevhell2022-04-031-0/+1
| | | | Gotta try all dat pipewire love.
* modules/zsh: Really fix evaluation this timeaszlig2022-03-241-3/+1
| | | | | | | Gosh, today my brain really doesn't work very well it seems, because I actually forgot to add the first hunk via "git add -p". Signed-off-by: aszlig <aszlig@nix.build>
* modules/zsh: Fix evaluation error and clean upaszlig2022-03-241-8/+8
| | | | | | | | | | | | | | Regression introduced by 25a077f90a0005b519db071a6b5b4d20bd6d2d45. I usually let Vim perform a syntax check on the Nix file I'm editing, which usually displays errors. However, given that the zsh module is one of my older modules where I did a big "with lib;" over the whole scope, a nix-instantiate --parse didn't find the missing pkgs argument. So apart from just fixing the error, I removed the "with lib;" and also moved from the old lib.overrideDerivation to package.overrideAttrs. Signed-off-by: aszlig <aszlig@nix.build>
* modules/upower-minimal: Fix option descriptionaszlig2022-03-241-1/+1
| | | | | | | | | Regression introduced by 652ac49da16123016c36537dc28331649a63bf7b. This breaks the build of the manual because the <literal/> tag wasn't closed. Signed-off-by: aszlig <aszlig@nix.build>
* programs/zsh: Add syntax highlightingaszlig2022-03-241-1/+46
| | | | | | | | | | | | | I'm already using zsh-fast-syntax-highlighting since weeks via the configuration.nix and I actually forgot why I used this implementation rather than one of the others out there. However, since I'm also using Nushell[1] on a regular basis, I got quite used to syntax highlighting so that's why I added it to zsh as well. [1]: https://www.nushell.sh/ Signed-off-by: aszlig <aszlig@nix.build>
* workstation/redshift: Lower nightly brightnessaszlig2022-03-241-0/+1
| | | | | | | I've been testing 0.5 for weeks now and already got sufficiently used to it so that I'd become blind if it would be the default value (1.0). Signed-off-by: aszlig <aszlig@nix.build>
* treewide: reflect upstream dropping netbsd-openbsd aliassternenseemann2022-03-231-1/+1
|
* Switch to new Hydra URLaszlig2022-03-211-1/+1
| | | | | | | | | Since the old URL had all sorts of issues ranging from no HTTP/2 support to issues with XSRF protection, I decided to move the Hydra instance to https://hydra.build/ - a domain that I had laying around since years but didn't use so far. Signed-off-by: aszlig <aszlig@nix.build>
* modules/upower: add a reload trigger if the config changesProfpatsch2022-03-161-3/+6
| | | | | | We should restart the service if its config changes. Since the service file from the upstream distribution is used, we have to manually add a trigger for that to happen.
* machines/profpatsch/base-workstation: add upower with suspendProfpatsch2022-03-162-0/+85
| | | | | Upstream is dumb, but the tool is certainly useful, so let’s patch it to make it workable and then also patch the nixos module …
* profiles/packages: Add packagesdevhell2022-03-131-0/+3
| | | | | | | | | | | | | | | | I'm particularly interested in `gurk-rs` as it's a Signal client that runs in the terminal. It's in early development but it looks already amazing and it doesn't rely on the Java library. `termusic` is also a nice music player written in Rust that I've come to enjoy when MPD doesn't make sense. Lastly, `writedisk` is just mad awesome. It can write ISOs of all sorts to USB stick, and it even knows how to deal with Windows ISOs. It writes those ISOs really fast as well, so I'm guessing it somehow measures the ideal block size. Either way, this is much more convenient than having to invoke `dd` every time I have to write an ISO. Funny enough, this too is a Rust application.
* profiles/packages: Re-add pulseaudiodevhell2022-03-061-0/+1
| | | | Once again, I forget that some parts of my system still need this.
* profiles/packages: More changesdevhell2022-03-031-2/+3
|
* machines/sternenseemann: use upower over low-batterysternenseemann2022-03-022-46/+0
| | | | | | | | | | | | | | I had some weird issues with the low-battery udev rule, mainly it not triggering when it should. Usually, the event would only get processed when the battery changed state, e.g. from Discharging to Charging. Consequently, the laptop would hibernate when you'd save it from running out of battery by plugging it in, but, if you forgot, it'd be content to run out of battery. I'll try upower instead now which is the “normal” solution used by the major desktop environments. It's has some extra complexity, as it also provides a d-bus API for other applications to use, but we'll see how it goes.
* modules/thinkpad: load the acpi_call kernel module for TLPsternenseemann2022-03-021-0/+10
| | | | | | This kernel module is required for some operations supported by TLP (e.g. tlp recalibrate), so we should enable it and be it to prevent confusing error messages (as I encountered).
* profiles/packages: Remove some cruft, add new cruftdevhell2022-03-021-8/+1
|
* aszlig/managed: skype -> skypeforlinuxdevhell2022-03-021-1/+1
|
* aszlig/workstation: youtubeDL -> youtube-dldevhell2022-03-021-1/+1
|
* {aszlig,devhell}/profiles: Rename more packagesdevhell2022-03-022-8/+8
| | | | Even more packages are being renamed.
* treewide: Rename packagesdevhell2022-03-022-2/+2
| | | | More packages have been renamed recently.
* treewide: Fix broken package symbolsProfpatsch2022-03-025-6/+6
| | | | | | | | Due to unnecessary renames in https://github.com/NixOS/nixpkgs/pull/161146 I replaced the packages with the ones the error messages mentioned, I have not checked whether they are actually a no-op replacement.
* modules/sternenseemann/sway: import all relevant vars into dbussternenseemann2022-03-011-1/+1
| | | | | dbus-activation-environment can also update the systemd user environment via the --systemd flag which is neat and we may use in the future.
* modules/sternenseemann/sway: wrap sway in systemd-catsternenseemann2022-03-011-1/+2
| | | | | | This will make sway's output get sent to the journal which is useful when tracking down problems (as the console is cleared immediately when sway exits).
* modules/sternenseemann/sway: don't use dbus-run-sessionsternenseemann2022-03-011-2/+1
| | | | | | At some point this was required to fix some issue I don't remember, but seems like starting a whole new dbus session now messes with the XDG portals, breaking the settings and secrets portal at least
* treewide: reflect removal of pulseaudioLight aliassternenseemann2022-02-282-2/+2
| | | | | pulseaudioLight has been the same as pulseaudio for a while (apparently since 2018). The alias has finally been removed now.
* flameshot: Rebase patch against version 11.0.0aszlig2022-02-092-31/+137
| | | | | | | | | | | | | | | | | | This is a major upstream release which deprecates a few of our options but also made our patch a little longer because the tools we remove are now defined in multiple places. The patch itself is pretty much doing the same things as before we do have one thing that is different, which is that we now create the savePath directory if it doesn't exist. I do know that this doesn't necessary need to be a directory but in the way I'm using flameshot it is, so I don't care ;-) While at it, I also disabled the checkForUpdates option, because this has annoyed me for some time and I really don't care if the version is the latest for a screenshot utility. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/packages: Reenable musikcubedevhell2022-02-081-1/+1
| | | | Now that it builds again...