mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-04 03:51:34 +02:00
feat: multi user
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{pkgs, ...}: {
|
||||
##################################################################################################################
|
||||
#
|
||||
# All Ryan's Home Manager Configuration
|
||||
#
|
||||
##################################################################################################################
|
||||
|
||||
imports = [
|
||||
../../home/core.nix
|
||||
|
||||
../../home/fcitx5
|
||||
../../home/i3
|
||||
../../home/programs
|
||||
../../home/rofi
|
||||
../../home/shell
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
userName = "Ryan Yin";
|
||||
userEmail = "xiaoyin_c@qq.com";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
##################################################################################################################
|
||||
#
|
||||
# NixOS Configuration
|
||||
#
|
||||
##################################################################################################################
|
||||
|
||||
users.users.ryan = {
|
||||
# Ryan's authorizedKeys
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJx3Sk20pLL1b2PPKZey2oTyioODrErq83xG78YpFBoj ryan@ryan"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user