Fix run0
This commit is contained in:
parent
cbf0ba3586
commit
6b36ea4418
3 changed files with 16 additions and 5 deletions
|
@ -15,8 +15,15 @@
|
||||||
"networkmanager" # Can manage networking
|
"networkmanager" # Can manage networking
|
||||||
"wheel" # Can use sudo
|
"wheel" # Can use sudo
|
||||||
];
|
];
|
||||||
|
|
||||||
hashedPassword = secrets.passwords.users.ty;
|
hashedPassword = secrets.passwords.users.ty;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
# Enable polkit user authentication
|
||||||
|
security.polkit.enable = true;
|
||||||
|
security.pam.services.systemd-run0 = {
|
||||||
|
setEnvironment = true;
|
||||||
|
pamMount = false;
|
||||||
|
}; # https://github.com/NixOS/nixpkgs/issues/361592#issuecomment-2516342739
|
||||||
|
}
|
||||||
|
|
|
@ -15,11 +15,15 @@
|
||||||
"networkmanager" # Can manage networking
|
"networkmanager" # Can manage networking
|
||||||
"wheel" # Can use sudo
|
"wheel" # Can use sudo
|
||||||
];
|
];
|
||||||
|
|
||||||
hashedPassword = secrets.passwords.users.ty;
|
hashedPassword = secrets.passwords.users.ty;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable polkit user authentication
|
# Enable polkit user authentication
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
}
|
security.pam.services.systemd-run0 = {
|
||||||
|
setEnvironment = true;
|
||||||
|
pamMount = false;
|
||||||
|
}; # https://github.com/NixOS/nixpkgs/issues/361592#issuecomment-2516342739
|
||||||
|
}
|
||||||
|
|
|
@ -25,4 +25,4 @@
|
||||||
# The hashed /etc/shadow password to use for the main user ty
|
# The hashed /etc/shadow password to use for the main user ty
|
||||||
users.ty = null;
|
users.ty = null;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue