about summary refs log tree commit diff
path: root/machines/profpatsch
Commit message (Collapse)AuthorAgeFilesLines
...
* services/profpatsch/weechat: start factoring out some optionsProfpatsch2021-03-051-1/+4
| | | | | | The goal is to be able to have multiple weechat services on one machine, so a bunch of people can run their weechat clients under different service users.
* machines/legosi: enable xandikos caldav/carddav serverProfpatsch2021-03-051-0/+17
|
* machines/{shiki,legosi}: enable tailscale moduleProfpatsch2021-03-052-0/+4
|
* machines/profpatsch/base-workstation: add binutilsProfpatsch2021-03-051-0/+1
|
* machines/shiki: make dunst follow keyboard focusProfpatsch2021-03-051-0/+3
|
* machines/shiki: reenable fcitx Japanese inputProfpatsch2021-03-051-10/+10
|
* machines/profpatsch: fix git overwriting gitFullProfpatsch2021-03-052-2/+8
| | | | | | I had a clash between the base config and my workstation, which lead to `git send-email` not being available because `git` (minimal) was shadowing `gitFull`.
* machines/shiki: “solve” the keyboard speed reset problemProfpatsch2021-02-271-0/+18
| | | | | External keyboards never keep the speed I set. I don’t want that. I don’t want to interact with udev, either.
* modules/user/profpatsch: adjust naming schemesternenseemann2021-02-132-4/+4
| | | | | | | | | | | | | | | 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
* feat(machines/legosi): initial duplicity setupProfpatsch2021-02-131-0/+44
| | | | | This should backup every service in `/var/lib` and anything I add in the future that I might have missed.
* fix(machines/legosi): set nix path to latest nixpkgs unstableProfpatsch2021-02-131-6/+2
| | | | | | | | | | 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.
* feat(profpatsch/machines): set journal size limit on every machineProfpatsch2021-02-132-3/+3
| | | | | | 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.
* pkgs/profpatsch: add deployProfpatsch2021-02-051-0/+4
| | | | Small script to deploy my machines.
* machines/shiki: disable some software I don’t useProfpatsch2021-02-041-4/+4
|
* machines/shiki: decrease dunst font sizeProfpatsch2021-02-041-2/+2
|
* machines/shiki: add mumble with speex supportProfpatsch2021-02-042-0/+4
|
* machines/profpatsch: add gitFull and github-cliProfpatsch2021-02-042-1/+2
|
* machines/profpatsch/base-workstation: enable earlyoomProfpatsch2021-02-041-0/+8
|
* machines/profpatsch/base: add straceProfpatsch2021-02-041-1/+2
|
* pkgs/profpatsch: add nix-evalProfpatsch2021-01-011-0/+4
| | | | Dumb wrapper around `nix-instantiate` for something I often need.
* machines/shiki: turn off screen after 5 seconds instead of 2Profpatsch2021-01-011-1/+3
|
* 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
|