about summary refs log tree commit diff
path: root/machines
Commit message (Collapse)AuthorAgeFilesLines
* dnyarri: Fix unit names for btrfs scrub servicesaszlig2021-01-041-1/+1
| | | | | | | | | | | | | | | | | | Injecting pre/post start scripts into services called "btrfs-scrub-.service.service" isn't going to do a whole lot if the actual service name is called "btrfs-scrub-.service". During the last scrub I was wondering why caching got slow afterwards and found out that the caching devices were filled with lots of irrelevant data from the scrub. This led me to inspect what went wrong and when checking the properties of the scrub service unit, I found out that it never worked in the first place for the reason meantioned in the first paragraph. Actually using the right unit name helps a lot here, so onwards to the next scrub in February :-) Signed-off-by: aszlig <aszlig@nix.build>
* 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.
* devhell/vim: Change vim from module to packagedevhell2020-12-042-2/+0
| | | | Recommended by aszlig to switch from module to package.
* machines/gunnr: Enable CUPSdevhell2020-11-171-0/+7
| | | | | Who'd have thought. Work has finally embraced a way of printing no matter what OS one runs. What a time to be alive.
* dnyarri: Set bcache mode to writethroughaszlig2020-11-101-1/+1
| | | | | | | | | | | | | | | | | | I already have this running in writethrough for long enough so that I'm pretty confident that a disaster like last time[1] should not happen anytime soon so that hereby I'm making this permanent in the machine configuration. The reason why I set this to writearound initially instead of writethrough, was that I just wanted to go with the most conservative option first. Of course, during scrub, we still disable all caching, so we should not generate too much wear on the SSD. [1]: 15008e69542774c441e388ad4c2e28a2d27f9ba0 Signed-off-by: aszlig <aszlig@nix.build>
* machines/hildr: Remove Nord theme from xrdbdevhell2020-11-081-48/+0
|
* {machines,modules}: Enable Podman everywheredevhell2020-11-061-4/+0
| | | | | I'm finding myself use containers more and more these days, primarily for testing stuff, so it's useful to have the tools installed.
* machines/gunnr: Remove Nord theme from xrdbdevhell2020-11-061-48/+0
| | | | | | Trying to figure out a better, more consistent approach to theming my terminals and terminal programs, so let's start from scratch and remove as much as possible.
* machines/gunnr: Add amdvlk to opengldevhell2020-11-051-1/+1
| | | | Let's see if this does anything good.
* machines/{hildr,gunnr}: Enable my Vim configdevhell2020-11-052-1/+2
| | | | | As I move from one machine to another I'll be removing SpaceVim and enabling my Vim.
* modules/programs: Add vimdevhell2020-11-031-0/+1
| | | | | | This is in preparation of me leaving SpaceVim behind and not having to rely on external sources for certain programs, such as Vim, when installing a new machine.
* machines/{gunnr,hildr,sigrun}: Remove xscreensaverdevhell2020-10-283-3/+0
| | | | | I really love the screensavers, but unfortunately more often than not it's hugely distracting for my mode of work.
* machines/gunnr: Remove proxydevhell2020-09-301-4/+0
| | | | | We've finally arrived in the 21st century and don't require a proxy anymore. Hurrah!
* machines/hildr: Switch back to wpa_supplicantdevhell2020-09-291-2/+2
| | | | | | | | | | IWD seems to have an issue with the re-configured eduroam I frequently use. Every other OS has no issues with the new configuration, only IWD does. They did some background work on the CA cert, and even gave me the public CA PEM to integrate in the configuration directly, and yet IWD complains of `bad_certificate`. I don't have time to dig deeper, so I'm switching to `wpa_supplicant` again until I have time to test it again with a newer version of IWD.
* 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-146-34/+32
| | | | | | | | | | | | | | | | | | | | 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
* dnyarri: Enable Wacom tablet supportaszlig2020-09-141-0/+1
| | | | | | | | I've had this laying around in my configuration.nix since quite a while, but today is one of those days where I can't stand all the cruft piling up there anymore and decided to add it here. Signed-off-by: aszlig <aszlig@nix.build>
* machines/eir: Remove unnecessary packagesdevhell2020-09-061-4/+0
| | | | A bit more cleanup.
* 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/{hildr,gunnr,eir}: xrdb use Nord colorsdevhell2020-08-273-48/+144
| | | | I've grown quite fond of this colorscheme. At least for now.
* 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
|
* dnyarri: Add youtube-dl support to gPodderaszlig2020-07-281-1/+5
| | | | | | | | | | | | | | I'm using gPodder to follow a bunch of YouTube channels and the internal extractor/downloader tends to be pretty unreliable. On the other hand, youtube-dl is regularily updated and supports a ton of different formats. To make sure we can actually use the extension, gPodder needs to have access to the youtube_dl Python module, so we need to add it to the propagatedBuildInputs. Signed-off-by: aszlig <aszlig@nix.build>
* 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-122-1/+48
| | | | Small Hetzner qemu virtual server.
* machines/shiki: qualify fontsProfpatsch2020-06-011-9/+9
|
* machines/{eir,hildr}: Enable wavemon properlydevhell2020-05-302-4/+8
| | | | Using the wrapper rather than normal.
* machines/hildr: Enable podmandevhell2020-05-301-0/+2
| | | | Kinda forgot that just adding the packages is probably not enough.