Add isSystemUser to appease nixpkgs
This commit is contained in:
parent
cd12d6a385
commit
ee1630b377
2
externals/home-manager
vendored
2
externals/home-manager
vendored
|
@ -1 +1 @@
|
|||
Subproject commit cbf0667037e6ca16fcc38818b2aa1391de702c6a
|
||||
Subproject commit 6aa6556bcab6dc0f6398b4daa8404d788fd7a6a2
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
nix.trustedUsers = [ "build" ];
|
||||
users.users.build = {
|
||||
isNormalUser = false;
|
||||
isSystemUser = true;
|
||||
home = "/home/build";
|
||||
createHome = true;
|
||||
useDefaultShell = true;
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
users.users = {
|
||||
artemis.extraGroups = [ "docker" "lxd" "libvirtd" ];
|
||||
lxd = {
|
||||
isSystemUser = true;
|
||||
subUidRanges = [{ startUid = 16777216; count = 16777216; } { startUid = config.users.users.artemis.uid; count = 1; }];
|
||||
subGidRanges = [{ startGid = 16777216; count = 16777216; } { startGid = 100; count = 1; } { startGid = config.users.groups.artemis.gid; count = 1; }];
|
||||
};
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
net_opts = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=60" "x-systemd.device-timeout=5s" "x-systemd.mount-timeout=5s" ];
|
||||
luna_opts = net_opts ++ [ "uid=${builtins.toString config.users.users.artemis.uid}" "gid=100" "credentials=/var/private/luna_creds" ];
|
||||
in
|
||||
{
|
||||
imports = [ ../../externals/systemd-boot-secure ];
|
||||
|
|
|
@ -52,6 +52,13 @@
|
|||
fileSystems = [ "/" "/media/data" "/media/archive" ];
|
||||
};
|
||||
|
||||
# Skye user for luna
|
||||
users.users.skye = {
|
||||
isSystemUser = true;
|
||||
uid = 1001;
|
||||
extraGroups = [ "users" ];
|
||||
};
|
||||
|
||||
# Packages
|
||||
services.tor = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue