nixos/xastir: init
This commit is contained in:
parent
cdd6bf809b
commit
b6d94e3962
4 changed files with 33 additions and 0 deletions
|
@ -410,6 +410,13 @@
|
|||
value of this setting.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<link xlink:href="https://xastir.org/index.php/Main_Page">Xastir</link>
|
||||
can now access AX.25 interfaces via the
|
||||
<literal>libax25</literal> package.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
</section>
|
||||
|
|
|
@ -110,3 +110,5 @@ In addition to numerous new and upgraded packages, this release has the followin
|
|||
- The `unifi-poller` package and corresponding NixOS module have been renamed to `unpoller` to match upstream.
|
||||
|
||||
- The new option `services.tailscale.useRoutingFeatures` controls various settings for using Tailscale features like exit nodes and subnet routers. If you wish to use your machine as an exit node, you can set this setting to `server`, otherwise if you wish to use an exit node you can set this setting to `client`. The strict RPF warning has been removed as the RPF will be loosened automatically based on the value of this setting.
|
||||
|
||||
- [Xastir](https://xastir.org/index.php/Main_Page) can now access AX.25 interfaces via the `libax25` package.
|
||||
|
|
|
@ -244,6 +244,7 @@
|
|||
./programs/waybar.nix
|
||||
./programs/weylus.nix
|
||||
./programs/wireshark.nix
|
||||
./programs/xastir.nix
|
||||
./programs/wshowkeys.nix
|
||||
./programs/xfconf.nix
|
||||
./programs/xfs_quota.nix
|
||||
|
|
23
nixos/modules/programs/xastir.nix
Normal file
23
nixos/modules/programs/xastir.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.programs.xastir;
|
||||
in {
|
||||
meta.maintainers = with maintainers; [ melling ];
|
||||
|
||||
options.programs.xastir = {
|
||||
enable = mkEnableOption (mdDoc "Enable Xastir Graphical APRS client");
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [ xastir ];
|
||||
security.wrappers.xastir = {
|
||||
source = "${pkgs.xastir}/bin/xastir";
|
||||
capabilities = "cap_net_raw+p";
|
||||
owner = "root";
|
||||
group = "root";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue