| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Surprise, surprise! NixOps in broken again. Yay.
|
|
|
|
|
| |
This is because changing TZ is not possible by automatic-timezoned if it
is configured declaratively.
|
|
|
|
|
|
|
| |
This bit me a number of times when I was abroad with herja and, like the
idiot I am, looked at the time, not remembering that my machine is not
in the same TZ as I am. This will hopefully, and gracefully, fix that
for me.
|
|
|
|
|
|
|
|
| |
Switching the redshift package to gammastep didn't work. Somehow there's
a gammastep.service for the user, but I'm still not sure where that
comes from. It also doesn't start automatically. I'm not sure if geoclue
is actually working, so I'm removing everything for now and will look at
it again at a later date.
|
| |
|
| |
|
|
|
|
| |
This has been removed according to nixpkgs upstream.
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
For when the official steam client sometimes just seems too slow.
|
| |
|
|
|
|
| |
My collection of small, but useful, tools continues.
|
|
|
|
|
| |
I'm having to do more work on GitLab now, and they also have a CLI,
similar to GitHub.
|
|
|
|
| |
Perhaps a nice taskwarrior replacement.
|
|
|
|
| |
Because we all need a bit of good usability in our lives.
|
|
|
|
| |
Life is too short...
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
A nice alternative to gopass CLI.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
It's not building right now anyway.
|
|
|
|
| |
This isn't working for some reason.
|
| |
|
|
|
|
|
|
|
| |
I'm basically replicating what I had written from scratch for the
temporary laptop that was not under vuizvui's control. The configuration
I was running there worked like a charm, so I'm taking some parts of
that over to my other machines.
|
|
|
|
| |
For work...
|
| |
|
|
|
|
| |
Mod4 doesn't exist on ludwig's keyboard.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Making it a proper module with options allows us to selectively switch
off stuff we don't need, e.g. saneterm. This should help keeping the
closure of ludwig smallish.
Additionally refactor font handling in the module: Instead of including
fonts.nix and assuming Bitstream Vera is available, we check
fonts.fontconfig.defaultFonts for the font to prefer.
|
|
|
|
|
| |
Mdbook has become really useful for writing lab material, so I'll
introduce it permanently to my package collection.
|
|
|
|
|
|
|
|
|
|
|
| |
I've been using taskwarrior a lot again lately, and this time I'd be
interested in seeing how much time I actually spend on certain tasks, so
I'm adding timewarrior to the mix. Unfortunately the hook requires that
python3 is installed.
WTF is a neat terminal dashboard that show information that I deem
useful and would like to keep an eye on without having to manually check
for stuff.
|
|
|
|
|
|
|
|
| |
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 virtmanager attribute has been renamed a while ago[1] to its
upstream name (virt-manager) and referencing the alias will now[2] throw
an evaluation error.
[1]: https://github.com/NixOS/nixpkgs/commit/5b640bfd089904bfe806606b8b2
[2]: https://github.com/NixOS/nixpkgs/commit/d06207386df9a53fe01f8a30130
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Changes the weechat setup so that I can have multiple instances, each
gets their own unix user & separate weechat instance.
|