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