1
1
Fork 0

Update to 21.11

This commit is contained in:
Jaculabilis 2022-01-08 00:06:07 +00:00
parent dc4377732f
commit 00dbabb5ce
3 changed files with 8 additions and 0 deletions

View File

@ -13,9 +13,11 @@ in
# Create a user for the server process to run under
users.users.amanuensis = {
isNormalUser = true;
group = "amanuensis";
description = "Amanuensis server user";
packages = [ python3-with-amanuensis-requires ];
};
users.groups.amanuensis = {};
# Create the server process systemd unit
systemd.services.amanuensis = {

View File

@ -23,6 +23,8 @@
};
boot.kernelParams = ["console=ttyS0"];
nix.package = pkgs.nixFlakes;
networking.hostName = "empyrean";
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
@ -115,8 +117,10 @@
users.users.tvb = {
isNormalUser = true;
group = "tvb";
extraGroups = [ "wheel" ]; # Enable sudo for the user.
};
users.groups.tvb = {};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions

View File

@ -18,6 +18,7 @@ let
redstringUser = {
name = "redstring";
description = "redstring service user";
group = "redstring";
isSystemUser = true;
};
@ -71,6 +72,7 @@ let
in
{
users.users.redstring = redstringUser;
users.groups.redstring = {};
# Run the setup script on activation
system.activationScripts.redstringSetup = "${redstringSetup}/bin/redstring-setup.sh";