This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, ... }: | |
{ | |
services.pipewire = { | |
enable = true; | |
}; | |
xdg.portal = { | |
enable = true; | |
wlr = { | |
enable = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
services.greetd = { | |
enable = true; | |
settings.default_session.command = "${lib.makeBinPath [pkgs.greetd.tuigreet]}/tuigreet --time --cmd ${cfg.greetCmd}"; | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
systemd.services.docker.path = with pkgs; [ zfs ]; | |
services = { | |
docker = { | |
enable = true; | |
extraOptions = "--storage-driver zfs --exec-opt native.cgroupdriver=systemd --bip=192.168.234.1/24"; | |
autoPrune = { | |
enable = true; | |
dates = "weekly"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, ... }: | |
with lib; | |
let | |
cfg = config.foo.bar; | |
in | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import aioesphomeapi | |
import asyncio | |
async def main(): | |
loop = asyncio.get_running_loop() | |
cli = aioesphomeapi.APIClient(loop, "foobarhostname", 6053, "foobarpassword") | |
await cli.connect(login=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
services.dovecot2 = { | |
modules = with pkgs; [ dovecot_pigeonhole ]; | |
extraConfig = '' | |
protocol lmtp { | |
mail_plugins = $mail_plugins sieve | |
} | |
service managesieve-login { | |
inet_listener sieve { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am fpletz on github. | |
* I am fpletz (https://keybase.io/fpletz) on keybase. | |
* I have a public key whose fingerprint is 8A39 615D CE78 AF08 2E23 F303 846F DED7 7926 17B4 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mirrors only the NixOS Binary Cache from cache.nixos.community | |
let | |
cacheHostname = "cache.nixos.ffmuc.net"; | |
cacheFolder = "/srv/nixos-cache"; | |
in { | |
systemd.services."rsync-nixos-cache" = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boot.kernelPackages = pkgs.linuxPackages_custom rec { | |
version = "4.11.4"; | |
src = pkgs.fetchurl { | |
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; | |
sha256 = "144a8ianp6sy057pbhnssg6xs4f3dc5cwwkz8d4q9jzpd87fdm43"; | |
}; | |
configfile = ./customKernel.config; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
test = { pkgs, lib, ... }: with lib; { | |
virtualisation.memorySize = 512; | |
virtualisation.graphics = false; | |
networking.firewall.enable = false; | |
services.rmilter.enable = false; | |
}; | |
} |
NewerOlder