| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The package has been removed upstream and we now get the following
evaluation error:
'mp3info' has been removed due to lack of maintenance upstream.
Consider using 'eartag' or 'tagger' instead
Since I haven't used mp3info since ages and probably won't use it in the
future (since I generally don't have MP3 files), it's time to drop it
without replacement.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Recently, PipeWire became the upstream default[1] and while I'm already
using it on my laptop and phone, I couldn't yet use it on dnyarri due to
a more complicated setup involving wordclock signaling between multiple
audio devices. Last time (about two months ago) I spent time attempting
to migrate this to PipeWire there were still a few issues, so I decided
to stay on PulseAudio for now.
Since dnyarri is the exception here, let's move the PipeWire options
from slylandro over to the workstation defaults and override it instead
for dnyarri to use PulseAudio.
[1]: https://github.com/NixOS/nixpkgs/pull/339209
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
| |
Fixes the following evaluation warning:
The option `hardware.opengl.driSupport32Bit' defined in
`.../modules/user/aszlig/profiles/workstation' has been renamed to
`hardware.graphics.enable32Bit'.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
| |
I tend to use this frequently enough and always use a nix-shell to bring
in the package, so I decided to make it part of my always-available
tools since especially when things are slow, I don't want to wait for
the nix-shell to be ready (and bpftrace itself already needs time to
compile the BPF, so it adds up).
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This has been killed off recently[1] and since I pretty much directly
enable/configure pulseaudio/pipewire it shouldn't be necessary for my
setups, at least that's what the newly added documentation argues:
The `sound` options have been largely removed, as they are unnecessary
for most modern setups, and cause issues when enabled.
If you set `sound.enable` in your configuration:
- If you are using Pulseaudio or PipeWire, simply remove that option
- If you are not using an external sound server, and want volumes to
be persisted across shutdowns, set
`hardware.alsa.enablePersistence = true` instead
If you set `sound.enableOSSEmulation` in your configuration:
- Make sure it is still necessary, as very few applications actually
use OSS
- If necessary, set `boot.kernelModules = [ "snd_pcm_oss" ]`
If you set `sound.extraConfig` in your configuration:
- If you are using another sound server, like Pulseaudio, JACK or
PipeWire, migrate your configuration to that
- If you are not using an external sound server, set
`environment.etc."asound.conf".text = yourExtraConfig` instead
If you set `sound.mediaKeys` in your configuration:
- Preferably switch to handling media keys in your desktop
environment/compositor
- If you want to maintain the exact behavior of the option, use the
following snippet
Should my sound setup no longer work due to this, I'm going to find out
soon enough anyway :-D
[1]: https://github.com/NixOS/nixpkgs/commit/3eeff54780a1a8c73c82ca51987962b62bd4219e
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I used to use coreutils "sleep" for simple countdown timers and given
that I get an urgency hint whenever a command completes, this made a
pretty good stopwatch.
However, with "sleep" it's a little bit tricky (eg. via procfs) to find
out the elapsed time, which is something I occasionally need.
Termdown does that and also displays the countdown in a more fancy way
via Figlet, so it's exactly what I want for this purpose.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is just to get the noise down during evaluation and fixes the
following warnings:
The option `services.xserver.xkbVariant' defined in
`.../modules/user/aszlig/profiles/base.nix' has been renamed to
`services.xserver.xkb.variant'.
The option `services.xserver.layout' defined in
`.../modules/user/aszlig/profiles/base.nix' has been renamed to
`services.xserver.xkb.layout'.
The option `services.xserver.displayManager.defaultSession' defined in
`.../modules/user/aszlig/profiles/workstation' has been renamed to
`services.displayManager.defaultSession'.
The option `services.xserver.displayManager.autoLogin' defined in
`.../modules/user/aszlig/profiles/workstation' has been renamed to
`services.displayManager.autoLogin'.
The option `fonts.fonts' defined in
`.../modules/user/aszlig/profiles/workstation' has been renamed to
`fonts.packages'.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Another eval error to fix:
error: nixVersions.unstable has been removed. For bleeding edge (Nix
master, roughly weekly updated) use nixVersions.git, otherwise use
nixVersions.latest.
I do track Git versions, but in this case it's for the base Nix version
I want to use on all my machines, so let's stick to the latest release
version since we can still use newer versions on an ad-hoc basis.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
| |
I could probably even delete that package since I'm not using it, but to
get evaluation fixed, let's just use the suggestion right now from the
eval error:
error: 'mpg321' has been removed due to it being unmaintained by
upstream. Consider using mpg123 instead.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
| |
I'm no longer using that device and I'm not willing to fix up random
Java stuff every time the build breaks for things I don't use, so let's
remove it.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The /var/run directory no longer is the canonical location for what is
now /run and /var/run is also not in /etc/shells, so let's switch to
/run instead.
From hier(7):
/run This directory contains information which describes the system
since it was booted. Once this purpose was served by /var/run
and programs may continue to use it.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
| |
While those .orig files might be useful for post-mortem analysis of a
rebase or merge, I never actually use them and rather resort to things
such as reflog to find the old tree/file.
Having those .orig files around just adds unnecessary noise, so let's
avoid that.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The former no longer exists and the latter has a new hardware and it's
self-managed by the owner now (which is always the best IMHO).
With both machines gone, we no longer need the "managed" profile and the
BFQ module that was used for the old hardware of Brawndo was no longer
used anywhere else. Same with the T100HA module, since Tyree was an ASUS
T100HA and apart from the module being probably very much outdated we
don't have another such hardware in Vuizvui.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit b9a7b3f0710ed828c9ec7562a6e641810fadd61b.
Our override is no longer needed and it actually doesn't build anymore
since even current stable Nix (2.17.0) is too new for nixos-option. This
is why in nixpkgs, there is a specific override for nixos-option which
uses Nix 2.15 instead.
For us this essentially means that we can drop the override, since
either someone fixes nixos-option to work with newer Nix versions or we
get a specific override that doesn't interfere with our (as in Vuizvui)
override of the "nix" attribute.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
| |
This is already defined in the base profile, so we really don't need to
define it twice, espacially because since ee758fdcdbbcae14d7a50d1809c1b2
both definitions are conflicting.
I actually had this removed locally but forgot to stage this for the
aforementioned commit.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The right XKB configuration should be using "us" as its layout and
"dvorak" as the variant, because there are other such variants such as
"it", "fr" or "de" and just using "dvorak" as the layout has very long
been an alias that now has been removed[1] in the latest version of
xkeyboard-config.
[1]: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/470ad2cd8fea84d7210377161d86b31999bb5ea6
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
| |
I occasionally run wireguard setups, sometimes broken beyond repair, and
I really don't care whether those are online or not as long as *any*
interface is alive.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
| |
Right now, nixos-option fails to build with latest nixUnstable and since
I currently don't have a lot of time to properly fix it and also don't
care a whole lot about nixos-option, I decided to override it using the
normal Nix stable package.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
| |
I had yt-dlp in my local Nix profile since quite a while and didn't use
youtube-dl at all since months. It's been so long that I actually forget
about that, thinking I already did this very change already.
Turns out, that I didn't, hence this commit.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
| |
cc @Profpatsch @aszlig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Essentially gets rid of these warnings:
* The option `services.openssh.permitRootLogin' defined in `...' has
been renamed to `services.openssh.settings.PermitRootLogin'.
* The option `services.openssh.passwordAuthentication' defined in `...'
has been renamed to
`services.openssh.settings.PasswordAuthentication'.
* The option `services.openssh.kbdInteractiveAuthentication' defined in
`...' has been renamed to
`services.openssh.settings.KbdInteractiveAuthentication'.
* The option `nix.readOnlyStore' defined in `...' has been renamed to
`boot.readOnlyNixStore'.
Evaluation leads to the same derivation path as before, so apart from
shutting up warnings this should not change any functionality.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default locale is en_US.UTF-8, but this also comes with a 12 hour
clock and a few other nuisances such as imperial units. So while I do
prefer a German locale I don't want things to be in the German
*language*, so setting something like de_DE.UTF-8 for LC_TIME doesn't
fly very well, since it could result in something like "Freitag, 20.
Januar".
To cope with this, I used the C locale to make sure that we get a 24h
clock and english week/month names. Similarily I do not want floats to
be formatted with a comma.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
| |
All the packages (hetzner, pep8 and polib) have Python 3 support but
I've used the Python 2 versions of them. Since Python 2 is failing
evaluation because it's marked as insecure, let's switch to the Python 3
versions.
I also removed the the Python 2 interpreter, especially since I haven't
been using it for quite a while.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
| |
This reverts commit 7aa89c91f34c0acf4fe6dc62cf6387a12698853f.
The change in question is part of release 4.21.1 and thus we no longer
need to keep the patch around.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I had this laying around locally for a year now and I'm still not really
happy with some things, for example not having yet full source builds of
the extensions and a few config options not yet managed by Nix (eg.
search engines).
However, since Firefox takes a while to build it's a bit tedious to
always do it directly (and locally) after I update my machines. Having
this part of my workstation profile should make sure that my version of
Firefox is available at all times.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
| |
When you have a lot of branches it's sometimes tedious to find out the
ones you've been working on recently. Sorting the branches by committer
date by default should make it more obvious.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Quoting from https://github.com/i3/i3/pull/5173:
A bug was introduced in https://github.com/i3/i3/pull/5118 in which
configs with bar blocks will segfault during validation. They were
copying the i3 font which is not set during validation. This PR simply
checks that the load_type is not validated before copying the font.
This fixes the Hydra build for the i3 configuration on my machines.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The posix_man_pages attribute has been renamed in nixpkgs[1] to
man-pages-posix to more closely match the upstream name. This now[2]
results in an evaluation error.
[1]: https://github.com/NixOS/nixpkgs/commit/4461230cc5e11952407f8ddd205
[2]: https://github.com/NixOS/nixpkgs/commit/d06207386df9a53fe01f8a30130
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @devhell
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some personal history on this:
I started to get used to AT&T syntax because it's the default in GDB and
used that ever since until I one day starting to do some more reverse
engineering using radare, which defaults to Intel syntax.
Ever since then probably my most used command in GDB was "set
disassembly-flavor intel" (because I was to lazy to add it to the
config) because I constantly got confused by the source/destination
operand swaps. This even happened during live reverse engineering at rC3
where I was confused about some function logic only to find out that I
was viewing in AT&T syntax.
Fast-forward to today: I'm debugging some application using WINE and
winedbg uses AT&T syntax, which I didn't like at first. After reflecting
on this for a while, I thought it would probably be better to get used
to AT&T syntax again and switch everything to use AT&T for the following
reasons:
* Operands are more natural to read, since most libraries/APIs in
higher level languages do it like this (well, except memcpy, strcpy,
etc... maybe I now get confused by libc functions...)
* AT&T syntax feels less verbose, for example "mov ecx, dword [eax]"
is just "movl (%eax), %ecx"
This very commit makes sure that radare2 now defaults to AT&T syntax
instead of eg. ensuring that GDB uses Intel syntax by default.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
| |
Just had to scan the credentials for a Wi-Fi access point and they were
only available via QR code, but was unable to make it available via Nix
shell because I had (for obvious reasons) no access to the Internet.
Adding zbar to all my machines will ensure that something like this
won't happen again.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
| |
Back then when I added the font pack in 0171f8d895efd46300ba01c6adeb7aa,
version 2.0 was not yet merged to nixpkgs. This has happened in the
meantime and the current version is version 2.2 and I also do not see
any reason to keep the 2.0 version in Vuizvui.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After countless boots with unlocking my LUKS containers and thereafter
logging in via lightdm I started to wonder whether it really makes sense
to do the latter.
All of my workstations are single-user, I usually don't switch my
session type (and even if, then via system configuration) and if someone
manages to unlock my LUKS containers, it's really trivial to circumvent
the user authentication.
So if I'm not forgetting about something big[TM], the only purpose this
additional auth serves is me being annoyed for no reason, so let's
disable it if the configuration indicates that LUKS is used.
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most of the options in nix.conf are now exposed as a submodule with a
freeform type and since that change[1] got introduced, we get a bunch of
warnings during machine evaluation:
trace: warning: The option `nix.useSandbox' defined in `...' has been renamed to `nix.settings.sandbox'.
trace: warning: The option `nix.maxJobs' defined in `...' has been renamed to `nix.settings.max-jobs'.
trace: warning: The option `nix.buildCores' defined in `...' has been renamed to `nix.settings.cores'.
To shut them up, I went through all machines and modules and renamed the
remaining options that were not renamed back then when @devhell did some
renames in a0297bf921399c3243dcca99626d8697f0735abe.
This was done by looking through the output of:
$ git grep -A 10 '\<nix\(\.\| *=\)' machines modules
After that I tested the contents of the nix.conf of all the machines
against the changes this commit introduced via the following command:
$ nix-build --no-out-link -E '
with import <nixpkgs/lib>;
map (m: m.eval.config.environment.etc."nix/nix.conf".source)
(collect (m: m ? eval) (import ./machines))
'
I've sorted the resulting nix.conf files and diffed on that result and
the only difference that showed up was the following:
allowed-users = *
-auto-optimise-store = false
auto-optimise-store = true
builders-use-substitutes = true
cores = 0
This is because the previous way to generate the config was by
concatenating strings whereas the new way works on an attribute set, so
we get deduplication by design.
[1]: https://github.com/NixOS/nixpkgs/pull/139075
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @devhell
Cc: @Profpatsch
Cc: @sternenseemann
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
| |
Even more packages are being renamed.
|
|
|
|
| |
More packages have been renamed recently.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
pulseaudioLight has been the same as pulseaudio for a while (apparently
since 2018). The alias has finally been removed now.
|
|
|
|
|
| |
This has been renamed upstream at some point and subsequently produced
eval errors.
|
|
|
|
|
|
|
|
| |
Since I regularly use this for recovering data from various hard drives
and it's also a good idea to have it at hand with no Internet connection
in case something bad[TM] happens, let's make it available everywhere.
Signed-off-by: aszlig <aszlig@nix.build>
|