mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
123
This commit is contained in:
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
xlib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
xlib.device.username = "snity";
|
||||||
|
|
||||||
|
users = {
|
||||||
|
users = {
|
||||||
|
"${xlib.device.username}" = {
|
||||||
|
name = "${xlib.device.username}";
|
||||||
|
isNormalUser = true;
|
||||||
|
group = "users";
|
||||||
|
description = "Snity";
|
||||||
|
hashedPasswordFile = "$y$j9T$851xwObfIp7SYzIyFtH.k1$mNofT2sxEAV50Kxgmwvqc6Kj/3B/fJoPP8qgn./siEB"; # hashed_password
|
||||||
|
homeMode = "700";
|
||||||
|
home = "/home/${xlib.device.username}";
|
||||||
|
extraGroups = [
|
||||||
|
"audio"
|
||||||
|
"disk"
|
||||||
|
"gamemode"
|
||||||
|
"networkmanager"
|
||||||
|
"pipewire"
|
||||||
|
"wheel"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
+5
-20
@@ -5,7 +5,11 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
xlib.device.username = "oqyude";
|
imports = [
|
||||||
|
./others
|
||||||
|
];
|
||||||
|
|
||||||
|
xlib.device.username = lib.mkDefault "oqyude";
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
users = {
|
users = {
|
||||||
@@ -31,25 +35,6 @@
|
|||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKduJia+unaQQdN6X5syaHvnpIutO+yZwvfiCP4qKQ/P"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKduJia+unaQQdN6X5syaHvnpIutO+yZwvfiCP4qKQ/P"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"${xlib.users.new}" = {
|
|
||||||
name = "${xlib.users.new}";
|
|
||||||
isNormalUser = true;
|
|
||||||
group = "users";
|
|
||||||
description = "Snity";
|
|
||||||
hashedPassword = "$y$j9T$851xwObfIp7SYzIyFtH.k1$mNofT2sxEAV50Kxgmwvqc6Kj/3B/fJoPP8qgn./siEB";
|
|
||||||
homeMode = "750";
|
|
||||||
home = "/home/${xlib.users.new}";
|
|
||||||
extraGroups = [
|
|
||||||
"audio"
|
|
||||||
"disk"
|
|
||||||
"gamemode"
|
|
||||||
"networkmanager"
|
|
||||||
"pipewire"
|
|
||||||
"wheel"
|
|
||||||
"libvirtd"
|
|
||||||
"qemu-libvirtd"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user