about summary refs log tree commit diff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* profiles/services: reintroduce redshift/gammastepdevhell2022-12-191-0/+6
| | | | | For some reason it won't start automatically, not sure what's going on there. I can't live without this though, my eyes are furious with me.
* profiles/packages: disable nixopsUnstabledevhell2022-12-151-1/+1
| | | | Surprise, surprise! NixOps in broken again. Yay.
* profiles/base: remove TZ infodevhell2022-12-121-4/+0
| | | | | This is because changing TZ is not possible by automatic-timezoned if it is configured declaratively.
* profiles/services: Add automatic-timezoneddevhell2022-12-121-0/+1
| | | | | | | 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.
* profiles/services: remove redshift and geoclue2devhell2022-12-121-34/+0
| | | | | | | | 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.
* treewide: switch from Xorg to wayland/swaydevhell2022-12-053-35/+49
|
* profiles/packages: temporarily disable wuzz againdevhell2022-11-281-1/+1
|
* modules/programs/foot: install foot terminfo over ncurses-shipped onesternenseemann2022-11-231-1/+1
|
* profiles/services: Remove picom.experimentalBackendsdevhell2022-11-211-1/+0
| | | | This has been removed according to nixpkgs upstream.
* i3: Really add global fullscreen toggleaszlig2022-11-201-2/+2
| | | | | | | | | 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>
* profiles/base: Revert fix for i3 config validationaszlig2022-11-141-12/+2
| | | | | | | | | 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>
* profiles/packages: Add steam-tuidevhell2022-11-081-0/+1
| | | | For when the official steam client sometimes just seems too slow.
* profiles/packages: add navidevhell2022-11-081-0/+1
|
* profiles/packages: Add more useful toolsdevhell2022-11-081-0/+6
| | | | My collection of small, but useful, tools continues.
* profiles/packages: Add glabdevhell2022-11-061-0/+1
| | | | | I'm having to do more work on GitLab now, and they also have a CLI, similar to GitHub.
* tests: miniupnpc_2 -> miniupnpcdevhell2022-11-051-1/+1
| | | | | | This was renamed upstream [1]. [1]: https://github.com/NixOS/nixpkgs/pull/198637
* profiles/packages: Add dstaskdevhell2022-11-021-0/+1
| | | | Perhaps a nice taskwarrior replacement.
* profiles/packages: Add nix-output-monitordevhell2022-11-011-0/+1
| | | | Because we all need a bit of good usability in our lives.
* profiles/packages: Add steamdevhell2022-11-011-0/+1
| | | | Life is too short...
* i3: Add keybinding for fullscreen across all headsaszlig2022-11-011-0/+3
| | | | | | | 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>
* profiles/packages: add ripasso-cursivedevhell2022-10-291-1/+2
| | | | A nice alternative to gopass CLI.
* workstation: Switch to Nix-managed Firefoxaszlig2022-10-271-1/+1
| | | | | | | | | | | | | | 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>
* profiles/packages: Disable wordgrinderdevhell2022-10-241-1/+1
| | | | It's not building right now anyway.
* profiles/base: Remove copySystemConfigurationdevhell2022-10-231-1/+0
| | | | This isn't working for some reason.
* profiles/packages: Add more useful packagesdevhell2022-10-211-1/+9
|
* profiles/services: Add more options to pipewiredevhell2022-10-211-2/+3
| | | | | | | 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.
* profiles/services: Add globalprotect VPN clientdevhell2022-10-211-0/+5
| | | | For work...
* profiles/base: SSH support to gnupgdevhell2022-10-211-0/+2
|
* modules/machines/ludwig: use Mod1 for swaysternenseemann2022-10-101-1/+7
| | | | Mod4 doesn't exist on ludwig's keyboard.
* modules/sternenseemann/sway: make $Mod+0 workspace 10sternenseemann2022-10-101-4/+9
|
* modules/sternenseemann/sway: cleanup portal config a little bitsternenseemann2022-10-101-3/+4
|
* modules/sternenseemann/sway: set qt5 theme to use gtk stylingsternenseemann2022-10-101-0/+2
|
* modules/sternenseemann/desktop-sway: check fontconfig for emoji fontsternenseemann2022-10-101-1/+2
|
* machines/sternenseemann: move desktop-sway.nix into profiles modulesternenseemann2022-10-102-0/+179
| | | | | | | | | | 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.
* profiles/packages: Add mdbookdevhell2022-10-101-0/+1
| | | | | Mdbook has become really useful for writing lab material, so I'll introduce it permanently to my package collection.
* profiles/packages: Add timewarrior and wtfdevhell2022-10-101-0/+3
| | | | | | | | | | | 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.
* profiles/workstation/git: Sort branches by dateaszlig2022-10-091-0/+1
| | | | | | | | 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>
* profiles/base: Add fix for i3 config validationaszlig2022-10-061-2/+12
| | | | | | | | | | | | | 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>
* modules/core/tests: adapt to paperless module renamesternenseemann2022-10-011-2/+2
| | | | | | | | Ref. https://github.com/NixOS/nixpkgs/commit/0977227b8622daccb5a8435d3d4216eedf845973 Evaluating the vuizvui Hydra seemingly hit an infinite loop involving the rename warning for this change, so hopefully adapting to it makes it possible to evaluate it again.
* devhell/pkgs: Fix attribute name for virt-manageraszlig2022-09-261-1/+1
| | | | | | | | | | | 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>
* Fix attribute name for iproute2aszlig2022-09-261-1/+1
| | | | | | | | | | | 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>
* Fix attribute name for man-pages-posixaszlig2022-09-262-2/+2
| | | | | | | | | | | | 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
* radare2: Add patch to default to AT&T ASM syntaxaszlig2022-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* workstation/packages: Add zbar to system packagesaszlig2022-09-111-0/+1
| | | | | | | | | | | 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>
* workstation: Use oldschool font pack from nixpkgsaszlig2022-09-051-11/+1
| | | | | | | | | 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>
* profiles/workstation: Use autoLogin on LUKSaszlig2022-09-051-19/+28
| | | | | | | | | | | | | | | | | 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>
* Use a font point size of 10 on hidpiaszlig2022-09-053-2/+7
| | | | | | | | | 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>
* slylandro: Add quirk for disabling D3cold on NVMeaszlig2022-08-263-0/+61
| | | | | | | | | | | | | | | | | | | | | | 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>
* modules/profiles/tvl: disable search domainsternenseemann2022-08-161-3/+0
| | | | This stopped working for me for some reason, so no point in keeping it
* machines + modules: Fix Nix option definitionsaszlig2022-08-153-20/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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