nixos/kelder: Add amogus

This commit is contained in:
2023-05-13 23:45:56 +01:00
parent e5ad65c4e1
commit 875cd4e27d
3 changed files with 149 additions and 77 deletions

View File

@@ -0,0 +1,22 @@
{ pkgs, ... }: {
boot.plymouth = {
enable = true;
};
systemd.services = {
amogus-beep = {
enable = true;
description = "amogus sus";
before = [ "plymouth-quit.service" ];
path = with pkgs; [ beep ];
serviceConfig = {
RemainAfterExit = true;
ExecStart = "${pkgs.python3}/bin/python ${./amogus_beep.py}";
Type = "oneshot";
};
wantedBy = [ "multi-user.target" ];
};
};
}