about summary refs log tree commit diff
path: root/machines/profpatsch
Commit message (Collapse)AuthorAgeFilesLines
...
* pkgs/profpatsch: add nix-runProfpatsch2021-01-011-0/+4
| | | | | | | | | 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`.
* machines/profpatsch/base-server: convert module to toml definitionProfpatsch2020-12-303-22/+63
| | | | | | | | | | 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.
* pkgs/profpatsch/e: allow passing a block-style argument as argvProfpatsch2020-12-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* machines/shiki: alock -> i3lockProfpatsch2020-09-211-3/+13
| | | | | | | | | alock is really bad locking software. It is slow, it becomes transparent, it even crashes sometimes. All the things a good lock screen should never do. i3lock is the trusted “standard” featureless locksceen, so this switch has been procrastinated for way too long.
* modules/profpatsch/services: add dunst user serviceProfpatsch2020-09-211-15/+16
|
* machines/legosi: use gzip and optimization for nginxProfpatsch2020-09-161-0/+2
|
* Use attribute sets for boot.initrd.luks.devicesaszlig2020-09-141-5/+2
| | | | | | | | | | | | | | | | | | | | This was one of the places where types.loaOf was still in place and it got removed a while[1] ago and this in turn causes evaluation to fail for quite a few machines: The option value `boot.initrd.luks.devices' in `...' is not of type `attribute set of submodules'. I've not only changed all the machines to use attribute sets but also fixed the check in core/tests.nix, because comparing against a list when the actual type is an attribute set will result in all the LUKS tests to be part of *all* channels, no matter whether you're actually using LUKS. [1]: https://github.com/NixOS/nixpkgs/commit/20d491a317d9956ddca80913f07 Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch Cc: @sternenseemann
* machines/haku: set NIX_PATH to filtered pkgs.pathProfpatsch2020-08-301-2/+13
| | | | | | | | | | | | This is a step towards a saner deployment for these machines. The NIX_PATH is fixed, so that everything on the running system always uses exactly the nixpkgs version the system was deployed with. The deployment is done by copying the system closure and switching to it via the `bin/switch-to-configuration` script. Uses the reference to pkgs.path, and applies filterSourceGitignore on the directory, since I often deploy from a local checkout which is half a GB without the gitignore filter.
* machines/haku: add data-seeding groupProfpatsch2020-08-301-0/+3
| | | | used for access to /data/seeding
* machines/haku: remove rtorrentProfpatsch2020-08-301-1/+0
|
* machines/shiki: improve font settingsProfpatsch2020-08-211-11/+26
| | | | | | Explicitely set default fonts for (sans)serif, monospace and emoji. Add Noto Color Emoji as emoji font.
* machines/legosi: activate syncthing & connect mushuProfpatsch2020-08-201-0/+21
|
* machines/legosi: set min-free to 3G and optimize storeProfpatsch2020-08-201-8/+16
|
* machines/shiki: use imv instead of fehProfpatsch2020-08-201-1/+1
|
* machines/legosi: add v6 addressProfpatsch2020-06-291-0/+12
|
* machines/legosi: open firewall for http(s)Profpatsch2020-06-291-0/+7
|
* machines/profpatsch/legosi: serve the static website from nginxProfpatsch2020-06-291-11/+14
|
* machines/legosi: finish comment …Profpatsch2020-06-191-1/+1
|
* machines/legosi: wrapExecStart weechat with ip2unix for bitlbeeProfpatsch2020-06-191-0/+20
|
* machines/legosi: fix nixPath even betterProfpatsch2020-06-191-1/+1
|
* machines/legosi: fix nixPathProfpatsch2020-06-191-0/+1
|
* modules/user/profpatsch/services: add bitlbeeProfpatsch2020-06-191-11/+3
| | | | Also add the service to legosi so I can use it from the weechat user.
* machines/legosi: open bitlebee authMode for nowProfpatsch2020-06-191-2/+4
|
* machines/legosi: enable bitlbee serviceProfpatsch2020-06-191-1/+13
| | | | No libpurple for just XMPP, phew.
* machines/legosi: replace weechat package by moduleProfpatsch2020-06-151-3/+5
|
* machines/legosi: add weechatProfpatsch2020-06-151-0/+4
|
* legosi: Use modulesPath instead of <nixpkgs/nixos>aszlig2020-06-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | While it's fine to use <nixpkgs> on most systems, we deliberately want to avoid the use of <nixpkgs> to make sure that whenever we for example run <nixpkgs/nixos/lib/eval-config.nix> with a custom "pkgs" argument we are guaranteed that we get the version we specify. So this is one of the reason I used <nixpkgsSrc> on Hydra instead of <nixpkgs>, so that whenever we have such occasions where we can't guarantee such things, the evaluation will fail. And right now, it does: in job 'machines.profpatsch.legosi': file 'nixpkgs/nixos/modules/profiles/qemu-guest.nix' was not found in the Nix search path (add it using $NIX_PATH or -I), at .../machines/profpatsch/legosi.nix:12:5 Fortunately, there is modulesPath, which refers to <nixpkgs/nixos/modules> of the nixpkgs version passed via "pkgs". Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* machines/profpatsch: add legosiProfpatsch2020-06-121-0/+46
| | | | Small Hetzner qemu virtual server.
* machines/shiki: qualify fontsProfpatsch2020-06-011-9/+9
|
* profpatsch/pkgs: Switch to using wrapMpvaszlig2020-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | Recently, the way to add scripts to the mpv wrapper has changed[1] and instead of using .override, there is now a dedicated wrapMpv function that can be used to compose the wrapped mpv derivation, similar on how it's done for wrapFirefox and wrapNeovim. The change also introduced the following evaluation error when using the old mpv-with-scripts package: Use wrapMpv for editing the environment of mpv Since this evaluation error essentially blocks Vuizvui channel generation, I decided to fix this, even though I usually try to avoid touching other people's machine configurations. [1]: https://github.com/NixOS/nixpkgs/commit/f93918bdc387d353285f458c06c6a111ae90b7b2 Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* machines/haku: make drawpile session persistentProfpatsch2020-05-021-3/+5
|
* machines/haku: add drawpileProfpatsch2020-05-021-0/+13
|
* machines/shiki: remove symbola font, unfreeProfpatsch2020-04-021-1/+0
|
* machines/katara: add wheel users to nix.trustedUsersProfpatsch2020-04-021-0/+1
| | | | If you are whell, you might as well change builders.
* machines/katara: add chromium & comment nix-diffProfpatsch2020-04-021-2/+3
| | | | nix-diff is broken atm.
* machines/shiki: add zoomboxedProfpatsch2020-03-262-2/+16
| | | | Filesystem sandbox around zoom-us.
* machines/profpatsch: set up bluetoothProfpatsch2020-02-161-0/+6
| | | | | The wiki article is positively awesome: https://nixos.wiki/wiki/Bluetooth
* machines/profpatsch: fix luks.device warningProfpatsch2020-02-161-4/+1
|
* machines/profpatsch: git-dit is not buildingProfpatsch2020-02-161-1/+1
|
* machines/profpatsch/pkgs: clean upProfpatsch2020-02-166-450/+1
| | | | | | | | | | | Remove everything I haven’t been using: - nix with an override - some containerization attempt - taffybar with patches - git-annex with override - poezio - searx with patches - ghci with additional packages
* machines/profpatsch/pkgs: drop xmpp-client, unusedProfpatsch2020-02-162-34/+0
|
* machines/haku: accept terms & add necessary email addressProfpatsch2020-02-161-0/+3
|
* machines/profpatsch/shiki: comment out pyrnotify serviceProfpatsch2020-02-161-41/+41
| | | | Hasn’t been working, but might want to fix in the future.
* machines/profpatsch/shiki: add taskwarriorProfpatsch2020-02-101-0/+1
|
* machines/profpatsch: chromium -> firefox 😱🎉😱Profpatsch2020-02-101-1/+1
|
* machines/profpatsch/base-workstation: switch from ag to rgProfpatsch2020-02-101-1/+1
| | | | | | ag is not maintained anymore and has problems with .gitignore files. rg seems to even be a bit faster and supports everything I need (plus it’s picked up automatically by the spacemacs search).
* shiki: Revert "Temp-disable dhall{-flycheck}"aszlig2020-02-101-3/+2
| | | | | | | | | | | | This reverts commit 69750084815bf994b859819f1dadab83ba0830c6. Since 00fce07dba2f80f94f1715f27bdb91b67a65ec89 and 67f8c4b09e7f9a9cd82c7dd1601891654958d0d2, the corresponding package attributes should now be available and we no longer need to disable them in order to get a successful evaluation. Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* profpatsch/shiki: Temp-disable dhall{-flycheck}aszlig2020-02-101-2/+3
| | | | | | | | | | | | | | | | | | | Eval error introduced by 057b0a46b542267dc4c8a3a61427923bb2797a50. It looks like that commit is probably missing some files, because I haven't been able to find anything that would remotely match the dhall and dhall-flycheck attributes. The former would be available in nixpkgs, but since the commit in question actually *changed* the attribute so that it no longer points to the nixpkgs one. The latter (dhall-flycheck) isn't available in nixpkgs at all. To ensure that channels evaluate properly, I temporarily commented out these attributes. Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* machines/profpatsch/shiki: use dhall from binary releaseProfpatsch2020-01-262-11/+2
| | | | | | | | | The hackage (and thus nixpkgs) version is sadly very much outdated. Luckily, Justin Woo provides the statically linked binaries from the upstream project. This won’t work for patches or using the library, but at the moment it’s okay.
* pkgs/profpatsch/warpspeed: 1.0 -> 1.1Profpatsch2020-01-261-1/+2
| | | | | | - Add argument for which host to bind against. - Add argument to specify where the root address should be redirected to (if at all)