| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
No more Brother crap.
|
|
|
|
| |
I don't know what I'm doing, but it's fun.
|
| |
|
| |
|
|
|
|
|
| |
So, turns out that enp6s0f3u1 sometimes also is initialised as
enp6s0f4u1. Why? WHyyyyyyyyy?????
|
|
|
|
|
| |
Reminder to myself to never check in TODO files since you always end up
forgetting to update them in the right commits.
|
| |
|
| |
|
|
|
|
| |
Dunno why I thought it was the former.
|
|
|
|
|
| |
The T14s is an awesome machine, but unfortunately it needs an Ethernet
dongle.
|
|
|
|
|
|
|
|
| |
Since we now distribute the programs.sqlite database with the vuizvui
channel, we can make use of it in programs.command-not-found. We change
the default path used to use the nixpkgs sub directory of the vuizvui
channel (by default it expects a channel named nixos containing the
database).
|
|
|
|
| |
gh pr checkout sure is extremely convenient.
|
|
|
|
|
|
|
|
|
| |
Apparently (probably since GNU came along) there are manuals for
different languages than english in share/man/$language. This adds
support for this in my mandoc module by allowing the user to freely
specify the manpath entries under $out.
> nmap(1) - Netzwerk-Analysewerkzeug und Sicherheits-/Portscanner
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The general consensus seems to be to use
vuizvui.user.<username>.<category>.<module name>
instead of
vuizvui.<category>.<user name>.<module name>
Things done to test this change:
* Checked build of machines.profpatsch.legosi.build
* Checked evaluation of machines.profpatsch.shiki.build
|
|
|
|
|
| |
This should backup every service in `/var/lib` and anything I add in
the future that I might have missed.
|
|
|
|
|
|
|
|
|
|
| |
Previously I had actually rebuilt the system locally, but since I use
the deploy script, I don’t need to have a full up-to-date nixpkgs
checkout, and only copy over the system closure.
Thus, set the path to only contain nixpkgs, and only a link to the
latest github unstable tarball in case I really need it e.g. for a nix
shell.
|
|
|
|
|
|
| |
Before we just set 50M on workstations, but let’s increase to 500M and
set it as default on every machine, so we don’t run out of space
because somebody DDoSes our server logs.
|
|
|
|
| |
Less fancy, more useful.
|
|
|
|
|
|
|
|
|
|
| |
This module implements a drop-in replacement for documentation.man which
finally lets me get rid of pkgs.man-db. This is still to be considered
experimental as the required patch hasn't landed in upstream mandoc yet.
Should that happen, I'll try to contribute this module back to nixpkgs.
A more detailed description on the module and mandoc on NixOS can be
found at the top of modules/user/sternenseemann/documentation/mandoc.nix
|
|
|
|
|
|
| |
Couldn't figure out how to pass a string from a command which contains
spaces from a variable to a command without the string getting split
into two arguments, so nested shell it is.
|
|
|
|
|
|
|
|
| |
Even if GIT_PAGER is set to less alone, git diff will pass extra options
to less, so we have to explicictly set the LESS="..." environment
variable to change this behavior. Specifically we don't want -F which
prevents less from entering alternate mode which enables alternate
scrolling in foot.
|
|
|
|
| |
vuizvui currently ships no programs.sqlite
|
|
|
|
|
|
|
|
| |
After some experimentation and looking at the NixOS' hardware repo, this
configuration seems to work quite well. There are no major issues to
worry about for now.
This is also the first machine where `fwupd` is available and working.
|
| |
|
| |
|
|
|
|
| |
machines/sternenseemann/wolfgang: refactor using new sway module
|
| |
|
|
|
|
| |
machines/sternenseemann: add TODO list
|
| |
|
|
|
|
|
| |
This machine is no longer active and probably would have to be redone
completely should it be reactivated.
|
|
|
|
|
| |
This machine has been replaced and now runs Windows for playing
minecraft mostly.
|
|
|
|
|
| |
This machine is no longer active and not really feasibly usable with
NixOS since i686 support was dropped.
|
|
|
|
| |
Small script to deploy my machines.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Shiny new machine needs NixOS love. <3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Injecting pre/post start scripts into services called
"btrfs-scrub-.service.service" isn't going to do a whole lot if the
actual service name is called "btrfs-scrub-.service".
During the last scrub I was wondering why caching got slow afterwards
and found out that the caching devices were filled with lots of
irrelevant data from the scrub. This led me to inspect what went wrong
and when checking the properties of the scrub service unit, I found out
that it never worked in the first place for the reason meantioned in the
first paragraph.
Actually using the right unit name helps a lot here, so onwards to the
next scrub in February :-)
Signed-off-by: aszlig <aszlig@nix.build>
|
|
|
|
| |
Dumb wrapper around `nix-instantiate` for something I often need.
|
| |
|
|
|
|
|
|
|
|
|
| |
Small tool which takes a block of nix options that should produce a
script to run, and then calls the script with the rest of argv
e nix-run { -A foobar } a b c
calls `nix-build -A foobar && ./result a b c`.
|
|
|
|
|
|
|
|
|
|
| |
This is a working PoC of specifying module configs as toml
configuration with simple to understand semantics.
Both the option definitions and the actual config values can be
specified via the toml DSL.
This is extremely happy-path for now, so errors are gonna be horrible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Often times I want to execute “block-style” programs directly, but it
is rather inconvenient to type out `execlineb -c "…"` every time, plus
-c wants the argv as a single string instead of an argv.
The alternative, using the block representation with leading spaces,
is even less ergonomic.
So instead of
execlineb -c "nix-run { -A pkgs.profpatsch.e ~/vuizvui } echo hello"
or even
nix-run ' -A' ' pkgs.profpatsch.e' ' /home/me/vuizvui' '' echo hello
I can now write
e nix-run { -A pkgs.profpatsch.e ~/vuizvui } echo hello
and it will work as expected (provided your shell expands inside {}
blocks, which bash does but fish doesn’t for some reason).
If no argument is passed, e falls back to opening a shell prompt.
|
|
|
|
| |
Recommended by aszlig to switch from module to package.
|
|
|
|
|
| |
Who'd have thought. Work has finally embraced a way of printing no
matter what OS one runs. What a time to be alive.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I already have this running in writethrough for long enough so that I'm
pretty confident that a disaster like last time[1] should not happen
anytime soon so that hereby I'm making this permanent in the machine
configuration.
The reason why I set this to writearound initially instead of
writethrough, was that I just wanted to go with the most conservative
option first.
Of course, during scrub, we still disable all caching, so we should not
generate too much wear on the SSD.
[1]: 15008e69542774c441e388ad4c2e28a2d27f9ba0
Signed-off-by: aszlig <aszlig@nix.build>
|
| |
|