refactor(users): set mutableUsers in sydnix.users

This commit is contained in:
2025-09-20 13:10:33 -06:00
parent 3cf3c8e81a
commit 763039b3d2
2 changed files with 10 additions and 15 deletions

View File

@@ -121,17 +121,12 @@
pkgs.cachix
];
programs.xwayland.enable = true;
services.openssh = {
enable = true;
settings.PermitRootLogin = "yes";
settings.X11Forwarding = true;
};
# TODO: Move to defaults.
users.mutableUsers = false;
nix = {
settings = {
allow-import-from-derivation = true;

View File

@@ -1,18 +1,18 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.sydnix.users;
in {
options = {
sydnix.users = {
users = mkOption {
description =
"List of usernames whose home profiles should be imported.";
type = with types; listOf str;
default = [];
};
options.sydnix.users = {
users = lib.mkOption {
description =
"List of usernames whose home profiles should be imported.";
type = with lib.types; listOf str;
default = [];
};
};
config = {
users.mutableUsers = false;
};
}