about summary refs log tree commit diff
path: root/machines/profpatsch
Commit message (Collapse)AuthorAgeFilesLines
* Rename vim_configurable to vim-fullaszlig2022-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "vim_configurable" derivation has had a long history in nixpkgs back then when there was no RFC process and where people still were figuring out better ways on how to configure compile-time flags. One of those was a composableDerivation function, which was used for "vim_configurable" and mapped attribute sets to autoconf-flags, so that for example if there was a "--enable-foo" flag you could just use something like: vim_configurable.merge { cfg.fooSupport = true; } You'd then get a Vim with "--enable-foo" passed to configureFlags. However, the composableDerivation feature was too complicated and was ultimately removed at some point. While it does allow for things such as introducing new "edf" (stands for Enable Disable Feature and maps the autoconf flags mentioned above to attribute sets) flags, the complexity that comes with that system is way too large than using something like eg.: vim-full.overrideAttrs (drv: { configureFlags = (drv.configureFlags or []) ++ [ "--enable-foo" ]; }) While this looks more verbose than the above, one can easily follow what's happening, whereas if you'd need to add and enable a new "edf" flag, you'd do something like this: vim_configurable.merge { flags = composableDerivation.edf { name = "foo"; }; cfg.fooSupport = true; } I admit that this does look a little nicer, but even I'm not sure whether it's worth adding so much complexity since in practice I rarely came across a sitation where something like the above would be really beneficial. So back then when "vim_configurable" was introduced[1], it was used as an alternative to the main vim derivation but using composableDerivation instead. Nowadays however, vim_configurable no longer uses composableDerivation and the rename also doesn't change any features, so I think it's safe to rename vim_configurable to vim-full in Vuizvui. [1]: https://github.com/NixOS/nixpkgs/commit/9a4e9e7a3b4014bb3c9f678ec22d254b85c4c98a [2]: https://github.com/NixOS/nixpkgs/commit/4e5ebcc3ed1de9c5c2001c7d5829f4566e0bde3f Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch Cc: @devhell
* machines/shiki: fix nix optionsProfpatsch2022-11-011-0/+14
|
* machines/shiki: fix unfree steam packagesProfpatsch2022-11-011-0/+1
|
* machines/shiki: remove stray youtube-dlProfpatsch2022-11-011-1/+0
|
* machines/legosi: disable syncthing for nowProfpatsch2022-11-011-18/+18
|
* machines/legosi: move to openssl 1.1 in nginx for nowProfpatsch2022-11-011-0/+3
| | | | | CVE patch is out already, but let’s wait until upstream has all the patches.
* machines/profpatsch: disable ipv6 on all serversProfpatsch2022-11-012-8/+11
|
* machines/profpatsch: disable speechdSupport for mumbleProfpatsch2022-11-011-1/+4
|
* machines/profpatsch: move back to Europe/BerlinProfpatsch2022-11-011-1/+1
|
* haku: prepare for new deploymentProfpatsch2022-10-311-174/+147
| | | | | 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.
* machines/shiki: fix source-han-sansProfpatsch2022-09-261-3/+1
|
* machines + modules: Fix Nix option definitionsaszlig2022-08-154-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/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.
* machines/legosi: fix deprecated syncthing module structureProfpatsch2022-06-261-13/+11
|
* machines/shiki: give lock-screen some colorProfpatsch2022-06-261-1/+4
|
* machines/shiki: fix steamProfpatsch2022-06-261-4/+9
|
* machines/shiki: enable v4l2loopback kernel moduleProfpatsch2022-06-261-0/+12
|
* machines/Profpatsch: fix new nix settings namesProfpatsch2022-03-162-5/+6
| | | | It’s only checked at the end LOL
* machines/profpatsch/base-workstation: add upower with suspendProfpatsch2022-03-161-0/+14
| | | | | 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 …
* machines/profpatsch: add leguin simple setupProfpatsch2022-03-081-0/+95
| | | | Mostly copied from haku
* machines/profpatsch: use new nix.settings attributeProfpatsch2022-03-022-5/+5
|
* treewide: Fix broken package symbolsProfpatsch2022-03-022-4/+4
| | | | | | | | 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.
* treewide: reflect removal of pulseaudioLight aliassternenseemann2022-02-281-1/+1
| | | | | pulseaudioLight has been the same as pulseaudio for a while (apparently since 2018). The alias has finally been removed now.
* machines/profpatsch: use alacritty as terminal-emulatorProfpatsch2022-02-281-3/+2
| | | | | | | 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.
* machines/profpatsch/workstation: make emacsclient create new framesProfpatsch2022-02-281-1/+1
| | | | | Ideally I’d start the emacs server in a systemd service, make it autorestart and always start frames, but that’s the next step.
* pkgs/profpatsch: remove easy-dhall-nix, use dhall from nixpkgsProfpatsch2022-02-281-1/+1
|
* machines/shiki: add stretch & bendProfpatsch2022-02-281-0/+4
|
* machines/profpatch: add tagtime serviceProfpatsch2022-02-281-1/+17
| | | | | tagtime was added to nixpkgs in https://github.com/NixOS/nixpkgs/pull/154027
* machines/profpatsch/shiki: disable powertopProfpatsch2022-01-071-5/+0
| | | | | I already had powermanagement running via the tlp daemon, which I had forgotten about, so powertop is redundant.
* machines/profpatsch/shiki: reference file systems by label not uuidProfpatsch2022-01-071-4/+10
| | | | | | | 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.