mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-30 10:10:38 +02:00
feat: multi user
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
@@ -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