[user module] actually call the module
Some checks failed
Check flake syntax / flake-check (push) Failing after 2m1s
Some checks failed
Check flake syntax / flake-check (push) Failing after 2m1s
and fix some issues
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
{config, lib, pkgs, inputs, ...}:
|
||||
let
|
||||
cfg = config.malobeo.users;
|
||||
sshKeys = import ../ssh_keys.nix;
|
||||
sshKeys = import ( inputs.self + /machines/ssh_keys.nix);
|
||||
in
|
||||
{
|
||||
options.malobeo.users = {
|
||||
@@ -21,7 +21,7 @@ in
|
||||
environment.systemPackages = with pkgs; [];
|
||||
})
|
||||
(lib.mkIf cfg.admin {
|
||||
users.user.admin = {
|
||||
users.users.admin = {
|
||||
isNormalUser = true;
|
||||
description = "admin user, passwordless sudo access, only ssh";
|
||||
hashedPassword = null;
|
||||
|
||||
Reference in New Issue
Block a user