This is my current users expression
users.users = {
john = {
name = "john";
group = "users";
extraGroups = [
"wheel" "disk" "audio" "video" "networkmanager" "systemd-journal"
];
isNormalUser = true;
uid = 1000;
home = "/home/john";
createHome = true;
};
};
My problem is that group = "users";
allows all users to see my files. How can I make the group = "john";
and clean up permissions on all of my files in the home directory? Is it possible to do this in my configuration.nix file? Also would restarting in one of these bad configurations mess up permissions again? How do I remove these old configurations so they cannot be accessed?
chgrp --recursive johns /home/john/
– Andrew Mar 20 '16 at 05:12