| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Comment out a lot of the old stuff that I might not want to re-enable
later. And get rid of the pre-tailscale wireguard desaster.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
No! bad subvolume! bad!
|
|
|
|
|
|
| |
I had them copied from the wrong module, of course this can’t work.
Since the kernel config & boot loader config is now in thinkpad, this
might just work (famous last words).
|
|
|
|
|
| |
Not sure about the boot loader config, but I guess it’s okay for now,
since it doesn’t diverge anyway.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
I use all of that on a regular basis.
Earlyoom makes sense for any kind of machine without swap, which is
all of my machines.
|
|
|
|
|
| |
I want to have a thinkpad-based server, which will need the
thinkpad-specific stuff but none of the workstation stuff.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Apparently one of its python dependencies went EOL and everything went
to fuck because python is a crapfest and nixpkgs policies around it
are stupid. yay.
|
| |
|
|
|
|
|
| |
This is not pretty, some of the code lives in vuizvui, some lives in
tvl depot. But at least it seems to work for now :)
|
|
|
|
| |
though the backup service is broken on the machine anyway, idk
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Changes the weechat setup so that I can have multiple instances, each
gets their own unix user & separate weechat instance.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
It’s only checked at the end LOL
|
|
|
|
|
| |
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 …
|
|
|
|
| |
Mostly copied from haku
|
| |
|
|
|
|
|
|
|
|
| |
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 is the alacritty wrapper that is added from `~/bin`.
This is a bit badly set up atm, but might change once I move things
together into one repo.
|
|
|
|
|
| |
Ideally I’d start the emacs server in a systemd service, make it
autorestart and always start frames, but that’s the next step.
|
| |
|
| |
|
|
|
|
|
| |
tagtime was added to nixpkgs in
https://github.com/NixOS/nixpkgs/pull/154027
|
|
|
|
|
| |
I already had powermanagement running via the tlp daemon, which I had
forgotten about, so powertop is redundant.
|
|
|
|
|
|
|
| |
I want to mirror my disk to a 1:1 backup drive every so often, and
referencing disks by uuid means I can’t have a runnable system from a
different drive. Instead I use labels that can be shared between both
drives, so that the second drive is also bootable.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Takes an additional argument and looks that argument up in the
respective nix build result directory bin dir.
Also add some documentation.
|
|
|
|
|
|
| |
They changed all config options and a bunch of defaults. I am angery.
ES BLEIBT ALLES SO, WIE ES IST
|
| |
|
|
|
|
|
|
|
| |
Based on the help in
https://nixos.wiki/wiki/Printing#Client_.28Linux.29
the ipv6 resolver for mdns is broken (only in nixpkgs?)
and will block & timeout. :)
|
| |
|
|
|
|
| |
Let’s see how it goes
|