mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-19 10:56:05 -07:00
Compare commits
No commits in common. "002e3e8ec551d97350941547ab408a71727f64db" and "bd5a3f50ee93cfc4f4983016d21c52249c178e8b" have entirely different histories.
002e3e8ec5
...
bd5a3f50ee
@ -25,6 +25,7 @@
|
|||||||
docker-compose
|
docker-compose
|
||||||
podman-tui
|
podman-tui
|
||||||
dive
|
dive
|
||||||
|
appgate-sdp
|
||||||
];
|
];
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
@ -35,7 +36,6 @@
|
|||||||
peripherals.enable = true;
|
peripherals.enable = true;
|
||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
appgate-sdp.enable = true;
|
|
||||||
chezmoi.apply = true;
|
chezmoi.apply = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
virt-manager.enable = true;
|
virt-manager.enable = true;
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
{ config, lib, pkgs, user, ... }:
|
|
||||||
|
|
||||||
let cfg = config.modules.programs.appgate-sdp;
|
|
||||||
in {
|
|
||||||
options.modules.programs.appgate-sdp.enable = lib.mkEnableOption "appgate-sdp";
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
appgate-sdp
|
|
||||||
(pkgs.writeScriptBin "appgate-sdp-wrapped" ''
|
|
||||||
#!/bin/sh
|
|
||||||
appgate
|
|
||||||
sudo systemctl restart resolvconf.service
|
|
||||||
'')
|
|
||||||
];
|
|
||||||
home-manager.users.${user} = {
|
|
||||||
# Custom entry that uses wrapped binary
|
|
||||||
xdg.desktopEntries.appgate = {
|
|
||||||
name="Appgate SDP";
|
|
||||||
exec="pkexec appgate-sdp-wrapped";
|
|
||||||
icon="appgate-icon";
|
|
||||||
terminal = false;
|
|
||||||
type = "Application";
|
|
||||||
mimeType= ["x-scheme-handler/appgate"];
|
|
||||||
categories= ["Network"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.kernelModules = [ "tun" ];
|
|
||||||
services.dbus.packages = [ pkgs.appgate-sdp ];
|
|
||||||
systemd = {
|
|
||||||
packages = [ pkgs.appgate-sdp ];
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/81138
|
|
||||||
services.appgatedriver.wantedBy = [ "multi-user.target" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,7 +1,6 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./appgate-sdp.nix
|
|
||||||
./base-terminal.nix
|
./base-terminal.nix
|
||||||
./beancount.nix
|
./beancount.nix
|
||||||
./borg.nix
|
./borg.nix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user