op5p: add base
This commit is contained in:
@@ -1,25 +1,24 @@
|
||||
{myData, ...}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
../../modules
|
||||
../../shared/platform/orangepi5plus.nix
|
||||
];
|
||||
|
||||
users.users = {
|
||||
motiejus = {
|
||||
isNormalUser = true;
|
||||
initialHashedPassword = "";
|
||||
openssh.authorizedKeys.keys = [myData.people_pubkeys.motiejus];
|
||||
mj = {
|
||||
stateVersion = "23.11";
|
||||
timeZone = "UTC";
|
||||
username = "nixos";
|
||||
|
||||
base.users = {
|
||||
enable = true;
|
||||
user.initialHashedPassword = "";
|
||||
root.initialHashedPassword = "";
|
||||
};
|
||||
root.initialHashedPassword = "";
|
||||
};
|
||||
|
||||
security = {
|
||||
pam.services.lightdm.text = ''
|
||||
auth sufficient pam_succeed_if.so user ingroup wheel
|
||||
'';
|
||||
sudo = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = false;
|
||||
};
|
||||
security.sudo = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = false;
|
||||
};
|
||||
|
||||
networking = {
|
||||
@@ -27,18 +26,4 @@
|
||||
domain = "jakstys.lt";
|
||||
firewall.allowedTCPPorts = [22];
|
||||
};
|
||||
|
||||
nix = {
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
trusted-users = nixos
|
||||
'';
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
trusted-users = ["motiejus"];
|
||||
};
|
||||
};
|
||||
|
||||
time.timeZone = "UTC";
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user