From 36c7626ab6fc572b5e109f418429dd217c40f511 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 18 Aug 2024 17:49:20 +0000 Subject: [PATCH] nixos-mod/frontend: add captive-browser --- flake.nix | 1 + nix/nixos-modules/frontend/default.nix | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e50b591..2f58d78 100644 --- a/flake.nix +++ b/flake.nix @@ -78,6 +78,7 @@ # hardware hardware.cpu.type = "intel"; hardware.graphics.intel.enable = true; + programs.captive-browser.interface = "wlp0s20f3"; } { # as currently installed diff --git a/nix/nixos-modules/frontend/default.nix b/nix/nixos-modules/frontend/default.nix index d35d5af..0ea842f 100644 --- a/nix/nixos-modules/frontend/default.nix +++ b/nix/nixos-modules/frontend/default.nix @@ -109,6 +109,11 @@ in programs = { + captive-browser = { + enable = true; + bindInterface = true; + }; + firefox = { enable = true; policies = { @@ -481,7 +486,6 @@ in # TODO wishlist: # - enable & disable touch keyboard automatically based on convertable status - # - programs.captive-browser # - https://github.com/cynicsketch/nix-mineral (NixOS hardening) # - programs.mepo # - programs.autojump