nixos/gateone: remove

The package is literally gone, this could never work.
This commit is contained in:
Jade Lovelace
2025-08-21 21:36:18 -07:00
parent e2265f6540
commit 602cc45c09
5 changed files with 7 additions and 76 deletions
@@ -136,6 +136,8 @@
- `netbox-manage` script created by the `netbox` module no longer uses `sudo -u netbox` internally. It can be run as root and will change it's user to `netbox` using `runuser`
- `services.gateone` has been removed as the package was removed such that it does not work.
- `services.dwm-status.extraConfig` was replaced by [RFC0042](https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md)-compliant [](#opt-services.dwm-status.settings), which is used to generate the config file. `services.dwm-status.order` is now moved to [](#opt-services.dwm-status.settings.order), as it's a part of the config file.
- `gitversion` was updated to 6.3.0, which includes a number of breaking changes, old configurations may need updating or they will cause the tool to fail to run.
+2 -2
View File
@@ -246,7 +246,7 @@ in
subsonic = 204;
# riak = 205; # unused, remove 2022-07-22
#shout = 206; # dynamically allocated as of 2021-09-18, module removed 2024-10-19
gateone = 207;
#gateone = 207; # removed 2025-08-21
namecoin = 208;
#lxd = 210; # unused
#kibana = 211;# dynamically allocated as of 2021-09-03
@@ -582,7 +582,7 @@ in
subsonic = 204;
# riak = 205;#unused, removed 2022-06-22
#shout = 206; #unused
gateone = 207;
#gateone = 207; #removed 2025-08-21
namecoin = 208;
#lxd = 210; # unused
#kibana = 211;
-1
View File
@@ -1154,7 +1154,6 @@
./services/networking/frp.nix
./services/networking/frr.nix
./services/networking/g3proxy.nix
./services/networking/gateone.nix
./services/networking/gdomap.nix
./services/networking/ghostunnel.nix
./services/networking/git-daemon.nix
+3
View File
@@ -367,6 +367,9 @@ in
(mkRemovedOptionModule [ "services" "private-gpt" ] ''
The private-gpt package and the corresponding module have been removed due to being broken and unmaintained.
'')
(mkRemovedOptionModule [ "services" "gateone" ] ''
The gateone module was removed since the package was removed alongside much other obsolete python 2.
'')
# Do NOT add any option renames here, see top of the file
];
}
@@ -1,73 +0,0 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.gateone;
in
{
options = {
services.gateone = {
enable = lib.mkEnableOption "GateOne server";
pidDir = lib.mkOption {
default = "/run/gateone";
type = lib.types.path;
description = "Path of pid files for GateOne.";
};
settingsDir = lib.mkOption {
default = "/var/lib/gateone";
type = lib.types.path;
description = "Path of configuration files for GateOne.";
};
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs.pythonPackages; [
gateone
pkgs.openssh
pkgs.procps
pkgs.coreutils
pkgs.cacert
];
users.users.gateone = {
description = "GateOne privilege separation user";
uid = config.ids.uids.gateone;
home = cfg.settingsDir;
};
users.groups.gateone.gid = config.ids.gids.gateone;
systemd.services.gateone = with pkgs; {
description = "GateOne web-based terminal";
path = [
pythonPackages.gateone
nix
openssh
procps
coreutils
];
preStart = ''
if [ ! -d ${cfg.settingsDir} ] ; then
mkdir -m 0750 -p ${cfg.settingsDir}
chown -R gateone:gateone ${cfg.settingsDir}
fi
if [ ! -d ${cfg.pidDir} ] ; then
mkdir -m 0750 -p ${cfg.pidDir}
chown -R gateone:gateone ${cfg.pidDir}
fi
'';
#unitConfig.RequiresMountsFor = "${cfg.settingsDir}";
serviceConfig = {
ExecStart = ''${pythonPackages.gateone}/bin/gateone --settings_dir=${cfg.settingsDir} --pid_file=${cfg.pidDir}/gateone.pid --gid=${toString config.ids.gids.gateone} --uid=${toString config.ids.uids.gateone}'';
User = "gateone";
Group = "gateone";
WorkingDirectory = cfg.settingsDir;
};
wantedBy = [ "multi-user.target" ];
requires = [ "network.target" ];
};
};
}