summaryrefslogtreecommitdiff
path: root/hosts/apocalypse/default.nix
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2026-05-15 23:08:52 +0200
committerJakub Stachurski <j.stachurski@student.utwente.nl>2026-05-15 23:08:52 +0200
commitef4761574ebf6abe199e00943ff238ea0b69178d (patch)
treee35e244b5f4fe1242f4814f192b3abe36b1e9563 /hosts/apocalypse/default.nix
parent2f1a86a21141e61b739ba56887d09aaabff282c0 (diff)
Add support for bulwark, including package.
This makes omega-relay also a mail client so to speak, though bulwark is mostly client-sided.
Diffstat (limited to 'hosts/apocalypse/default.nix')
-rw-r--r--hosts/apocalypse/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/hosts/apocalypse/default.nix b/hosts/apocalypse/default.nix
index 179e2d1..f2aac2a 100644
--- a/hosts/apocalypse/default.nix
+++ b/hosts/apocalypse/default.nix
@@ -1,4 +1,4 @@
-{ lib, ... }:
+{ lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
@@ -13,6 +13,10 @@
"127.0.0.1" = [ "omega-relay.local" ];
};
+ environment.systemPackages = [
+ (pkgs.callPackage ../../packages/bulwark/package.nix { })
+ ];
+
services.logind.settings.Login = {
HandleLidSwitch = "suspend";
HandleLidSwitchExternalPower = "lock";