summary refs log tree commit diff
path: root/nixos/modules/services/networking/gateone.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2018-06-30 01:58:35 +0200
committerFlorian Klink <flokli@flokli.de>2018-06-30 03:02:58 +0200
commitfff5923686c21dd147bde62d08e9f1042deadb4f (patch)
treeb5d25982df0045672be210e75dd923ce432cf8de /nixos/modules/services/networking/gateone.nix
parent89d5d191b48c502c84a4ed459ef3c9adc77a012a (diff)
downloadnixpkgs-fff5923686c21dd147bde62d08e9f1042deadb4f.tar
nixpkgs-fff5923686c21dd147bde62d08e9f1042deadb4f.tar.gz
nixpkgs-fff5923686c21dd147bde62d08e9f1042deadb4f.tar.bz2
nixpkgs-fff5923686c21dd147bde62d08e9f1042deadb4f.tar.lz
nixpkgs-fff5923686c21dd147bde62d08e9f1042deadb4f.tar.xz
nixpkgs-fff5923686c21dd147bde62d08e9f1042deadb4f.tar.zst
nixpkgs-fff5923686c21dd147bde62d08e9f1042deadb4f.zip
nixos/modules: users.(extraUsers|extraGroup->users|group)
Diffstat (limited to 'nixos/modules/services/networking/gateone.nix')
-rw-r--r--nixos/modules/services/networking/gateone.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/gateone.nix b/nixos/modules/services/networking/gateone.nix
index 78ff0b76198..4456a95402e 100644
--- a/nixos/modules/services/networking/gateone.nix
+++ b/nixos/modules/services/networking/gateone.nix
@@ -23,12 +23,12 @@ config = mkIf cfg.enable {
   environment.systemPackages = with pkgs.pythonPackages; [
     gateone pkgs.openssh pkgs.procps pkgs.coreutils pkgs.cacert];
 
-  users.extraUsers.gateone = {
+  users.users.gateone = {
     description = "GateOne privilege separation user";
     uid = config.ids.uids.gateone;
     home = cfg.settingsDir;
   };
-  users.extraGroups.gateone.gid = config.ids.gids.gateone;
+  users.groups.gateone.gid = config.ids.gids.gateone;
 
   systemd.services.gateone = with pkgs; {
     description = "GateOne web-based terminal";