about summary refs log tree commit diff
path: root/machines
Commit message (Collapse)AuthorAgeFilesLines
...
* machines/sternenseemann: move desktop-sway.nix into profiles modulesternenseemann2022-10-102-142/+1
| | | | | | | | | | 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.
* machines/sternenseemann/ludwig: update disk UUIDssternenseemann2022-10-071-7/+7
|
* machines/wolfgang: allow optionally injecting local configurationsternenseemann2022-09-281-0/+2
|
* machines/sternenseemann/ludwig: drop now obsolete spidermonkey fixsternenseemann2022-09-281-11/+0
| | | | | Seems like upstream fixed this header related issue in the meantime (or someone worked around it in nixpkgs).
* machines/sternenseemann/ludwig: workarounds initial i686 failuressternenseemann2022-09-271-3/+31
|
* machines/sternenseemann/ludwig: resurrectsternenseemann2022-09-272-5/+8
| | | | | | | | This is the old racker machine, but needs to be re-installed (hence the updated stateVersion) and is renamed more consistently. This has not much set up yet, trying to get binary cache up for the first install. cc @aszlig, LMK if this is an unreasonable burden on the builders.
* machines/sternenseemann/wolfgang: update swap IDsternenseemann2022-09-271-1/+1
| | | | I re-created the swap for some reason, so this needs to be reflected.
* slylandro: Switch to PipeWireaszlig2022-09-261-0/+11
| | | | | | | | | I've been testing PipeWire on this machine for quite a while and it works pretty well so far. My goal is to switch all my machines to it, but since Dnyarri currently has a pretty complicated audio setup I decided to not make it the default for the workstation profile yet. Signed-off-by: aszlig <aszlig@nix.build>
* slylandro: Switch location provider to geoclue2aszlig2022-09-261-0/+2
| | | | | | | | | I do have location.latitude and location.longitude set in my workstation profile, but since Slylandro is a laptop that frequently changes location it makes sense to automate this in a way that I don't need to manually set the location every time I switch places. Signed-off-by: aszlig <aszlig@nix.build>
* slylandro: Add light commandaszlig2022-09-261-0/+2
| | | | | | | | | | | | While I do use redshift to decrease the brightness at night, I also tend to sometimes use the laptop when barely awake. Having a convenient CLI makes it easier to script, eg. "mpv somefile; light -S 0". The reason why I did not add this to my generic workstation profile is because my workstations are usually placed in a way that I need to be awake enough to approach them. Signed-off-by: aszlig <aszlig@nix.build>
* slylandro: Add libinput config for touchpadaszlig2022-09-261-0/+6
| | | | | | | | | | | | | | I never got really used to the "buttonareas" click method and while "clickfinger" does have some disadvantages (eg. dragging is much more difficult without drag lock), in most other cases I find the clickfinger method a lot more convenient, since it usually only requires one hand to operate. Since we have clickfinger enabled, I also don't see a point in enabling middle click emulation since three fingers already count for a real middle click. Signed-off-by: aszlig <aszlig@nix.build>
* wolfgang: Fix attribute name for xdg-utilsaszlig2022-09-261-1/+1
| | | | | | | | | | | Another one of the attributes that got renamed from xdg_utils to xdg-utils a while ago[1] and which now[2] throws an evaluation error. [1]: https://github.com/NixOS/nixpkgs/commit/a6ac3eedbd197746dae3be74d3a [2]: https://github.com/NixOS/nixpkgs/commit/d06207386df9a53fe01f8a30130 Signed-off-by: aszlig <aszlig@nix.build> Cc: @sternenseemann
* machines/shiki: fix source-han-sansProfpatsch2022-09-261-3/+1
|
* machines: Fix attribute name for gnomeaszlig2022-09-261-2/+2
| | | | | | | | | | | The gnome3 attribute got renamed a while ago[1] and a recent change[2] now causes an evaluation error when it's used, so let's rename it to just "gnome". [1]: https://github.com/NixOS/nixpkgs/commit/468cb5980b56d348979488a74a9 [2]: https://github.com/NixOS/nixpkgs/commit/d06207386df9a53fe01f8a30130 Signed-off-by: aszlig <aszlig@nix.build>
* machines/slylandro: Remove tuxedo-keyboard moduleaszlig2022-09-081-1/+0
| | | | | | | | | This actually consists of several modules which are of poor code quality, none of them however are essential for the TUXEDO Pulse 15 because its keyboard backlight is single color so let's drop them since they just taint the kernel for no reason. Signed-off-by: aszlig <aszlig@nix.build>
* machines/sternenseemann/wolfgang: update wireguard configsternenseemann2022-09-011-5/+5
|
* machines/sternenseemann/wolfgang: switch to yt-dlpsternenseemann2022-09-011-1/+1
|
* slylandro: Add quirk for disabling D3cold on NVMeaszlig2022-08-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | After resume from suspend the NVMe does not wake up again when the device was put into D3cold. This is something that is worked around by TUXEDO Tomte[1] via udev rules. However, I personally don't like this approach and it can lead to race conditions when we're going into suspend before udev is initialised. Interestingly, the device does even go into NPSS via APST, but if changing to D3cold while APST is enabled, the device does not wake up again. Right now I just added a new quirk to disable D3cold during device probe for now, but we could maybe find a better workaround eg. by disabling APST before D3cold and re-enabling it again. Not sure whether this is feasible, but since I have limited time right now I can't dig more into this. [1]: https://github.com/tuxedocomputers/tuxedo-tomte/commit/2c8d71170868a2663705fbea6ac150eecb96e6ce Signed-off-by: aszlig <aszlig@nix.build>
* machines + modules: Fix Nix option definitionsaszlig2022-08-1510-22/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* machines/tishtushi: Remove machine configaszlig2022-08-152-57/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | I already killed that machine on 2022-08-04: tishtushi[~]0> cryptsetup erase /dev/sda2 WARNING! ======== This operation will erase all keyslots on device /dev/sda2. Device will become unusable after this operation. Are you sure? (Type 'yes' in capital letters): YES tishtushi[~]0> cryptsetup erase /dev/sda3 WARNING! ======== This operation will erase all keyslots on device /dev/sda3. Device will become unusable after this operation. Are you sure? (Type 'yes' in capital letters): YES Since some of the hardware was already broken (touchpad, keyboard, HDD, SSD and webcam), I hardly doubt that I'll use it again so it makes sense to remove the config here. Signed-off-by: aszlig <aszlig@nix.build>
* machines/shakti: Remove machine configaszlig2022-08-152-74/+0
| | | | | | | The machine no longer exists, so it doesn't make sense to continuously build it on Hydra. Signed-off-by: aszlig <aszlig@nix.build>
* slylandro: Initialise amdgpu module early in bootaszlig2022-08-031-0/+1
| | | | | | | | The amdgpu module is initialised at roughly the same time as the X server, which sometimes leads into race conditions where X won't start because the kernel driver is not yet loaded. Signed-off-by: aszlig <aszlig@nix.build>
* slylandro: Enable keyboard backlightaszlig2022-08-031-0/+1
| | | | | | | | This is a custom kernel module for TUXEDO laptops, which allows to control the backlight. I haven't played around with its settings yet, but having the module available helps with that. Signed-off-by: aszlig <aszlig@nix.build>
* slylandro: Add linux-firmwareaszlig2022-08-031-0/+1
| | | | | | This is needed for the GPU and the WiFi adapter. Signed-off-by: aszlig <aszlig@nix.build>
* slylandro: Disable caps lock keyaszlig2022-08-031-0/+1
| | | | | | | | | | | I'm used to a TypeMatrix keyboard, where caps lock is only a small key on the side instead of being prominently placed atop switch. Slylandro's internal keyboard however has that pesky caps lock key directly atop the left shift key and I'm constantly triggering it by accident. Signed-off-by: aszlig <aszlig@nix.build>
* slylandro: Set DPI for Xorgaszlig2022-08-031-0/+2
| | | | | | | | This makes the screen readable again, but might get us into trouble when switching to an external display. Again, similar to enabling bonding in the previous commit, let's find out :-) Signed-off-by: aszlig <aszlig@nix.build>
* slylandro: Use bonding for WiFi/Ethernetaszlig2022-08-031-2/+17
| | | | | | | | | This is mainly because I want to have a seamless transition between both, at least in theory. Whether this will work out to be so smooth when trying it on various networks out there remains to be seen, but let's try it :-) Signed-off-by: aszlig <aszlig@nix.build>
* machines: Re-add slylandro with different hardwareaszlig2022-08-022-0/+57
| | | | | | | | | | | | | | | | | | I've already got a temporary laptop back then where I used the same name and I introduced it in e73fcff03faed773df2500965cb9c4a4fcfbc04d and subsequently removed it in 240378dcec205b78b32c329ff02eb9bea8af2c11. With the new permanent hardware having arrived today, I decided to reuse the name, because it sounds nicer than "tishtushi" (which is my crappy laptop) and I also like the Slylandro Probes[1] a lot in Star Control. The configuration here is pretty much bare-bones as we had before with the temporary hardware and it's essentially a remix between dnyarri and the old config, more to refine later... [1]: https://wiki.uqm.stack.nl/Probe Signed-off-by: aszlig <aszlig@nix.build>
* machines/sternenseemann: also build german and C localessternenseemann2022-07-071-0/+5
| | | | | See https://github.com/NixOS/nixpkgs/pull/177318 for the lovely change that causes your locales to disappear.
* machines/profpatsch/base-serer.toml: nota beneProfpatsch2022-06-271-0/+2
|
* machines/shiki: ignore short press on power buttonProfpatsch2022-06-271-3/+10
|
* machines/leguin: ignore lid switch when connectedProfpatsch2022-06-271-0/+14
|
* machines/leguin: fix boot partitions againProfpatsch2022-06-271-1/+1
| | | | No! bad subvolume! bad!
* machines/leguin: fix boot partitionsProfpatsch2022-06-271-10/+11
| | | | | | 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).
* machines/profpatsch: move thinkpad boot options to thinkpad.nixProfpatsch2022-06-272-3/+4
| | | | | Not sure about the boot loader config, but I guess it’s okay for now, since it doesn’t diverge anyway.
* machines/profpatsch: move console key config to baseProfpatsch2022-06-272-5/+6
|
* machines/leguin: Actually set upProfpatsch2022-06-272-33/+23
|
* machines/Profpatsch/base: explicitly set "UTC" as timezoneProfpatsch2022-06-262-2/+5
|
* machines/Profpatsch/thinkpad: always enable upowerdProfpatsch2022-06-261-0/+2
|
* machines/Profpatsch: Move some stuff to base.nixProfpatsch2022-06-262-17/+16
| | | | | | | 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.
* machines/Profpatsch: Move thinkpad config into separate moduleProfpatsch2022-06-263-4/+13
| | | | | I want to have a thinkpad-based server, which will need the thinkpad-specific stuff but none of the workstation stuff.
* modules/hardware/thinkpad: Default intel.updateMicrocode to trueProfpatsch2022-06-261-5/+0
| | | | | | | | 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: disable duplicityProfpatsch2022-06-261-39/+38
| | | | | | 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.
* machines/shiki: remove bad import arghProfpatsch2022-06-261-1/+1
|
* machines/legosi: Add notes and projects server to websiteProfpatsch2022-06-261-0/+30
| | | | | 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 :)
* machines/legosi: some duplicity changesProfpatsch2022-06-261-1/+2
| | | | though the backup service is broken on the machine anyway, idk
* machines/legosi: fix renamed acme email option nameProfpatsch2022-06-261-1/+1
|
* machines/legosi: explicitely only expose xandikos over tailscaleProfpatsch2022-06-261-3/+11
|
* machines/shiki: enable tailscaleProfpatsch2022-06-261-1/+12
|
* machines/legosi: add weechat-qwerkyProfpatsch2022-06-261-15/+22
| | | | | Changes the weechat setup so that I can have multiple instances, each gets their own unix user & separate weechat instance.