Skip to content

Commit

Permalink
refixed issue with sakhib & sardor
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Aug 26, 2024
1 parent 209678c commit 8cf7db2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 4 additions & 2 deletions home/sakhib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@
}: {
imports = [
outputs.homeManagerModules.zsh
outputs.homeManagerModules.helix
outputs.homeManagerModules.nixpkgs
outputs.homeManagerModules.topgrade
outputs.homeManagerModules.packages
];

# This is required information for home-manager to do its job
home = {
stateVersion = "24.05";
username = "sardor";
homeDirectory = "/home/sardor";
username = "sakhib";
homeDirectory = "/home/sakhib";

# Tell it to map everything in the `config` directory in this
# repository to the `.config` in my home-manager directory
Expand Down
2 changes: 0 additions & 2 deletions home/sardor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
}: {
imports = [
outputs.homeManagerModules.zsh
outputs.homeManagerModules.helix
outputs.homeManagerModules.nixpkgs
outputs.homeManagerModules.topgrade
outputs.homeManagerModules.packages
];

Expand Down
8 changes: 4 additions & 4 deletions modules/nixos/users/sakhib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
}: {
config = {
users.users = {
sardor = {
sakhib = {
isNormalUser = true;
description = "Sardor Qodirjonov";
description = "Sokhibjon Orzikulov";
initialPassword = "F1st1ng15300Buck$!?";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATIYPqUdcP64tufjGii7LNncg5N2AzX7fj4JH3Vtdq2 [email protected]"
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDAGqU+JleLM0T44P2quirtLPrhFExOi6EOe0GYXkTFcTSjhw9LqiuX1/FbqNdKTaP9k6CdV3xc/8Z5wxbNOhpcPi9XLoupv9oNyIew7QYl+ZoAck6/qPsM7uptGYCwo0/ErzPNLd3ERD3KT1axCqrI6rWJ+JFOMAPtGeAZZxIedksViZ5SuNhpzXCIzS2PACqDTxFj7JwXK/pQ200h9ZS0MSh7iLKggXQfRVDndJxRnVY69NmbRa4MqkjgyxqWSDbqrDAXuTHpqKJ5kpXJ6p2a82EIHcCwXXpEmLwKxatxWJWJb9nurm3aS74BYmT3pRVVSPC6n5a2LWN9GxzvVh3AXXZtWGvjXSqBxHdSyUoDPuZnDneycdRC5vs6I1jSGTyDFdc4Etq1M5uUYb6SqCjJIBvTNqVnOf8nzFwl/ENvc8sbIVtILgAbBdwDiiQSu8xppqWMZfkQJy+uI5Ok7TZ8o5rGIblzfKyTiljCQb7RO7Klg3TwysetREn8ZEykBx0= This world soon will cherish into my darkness of my madness"
];
extraGroups = [ "networkmanager" "wheel" "docker" "admins" ];
};
Expand All @@ -23,7 +23,7 @@
extraSpecialArgs = { inherit inputs outputs; };
users = {
# Import your home-manager configuration
sardor = import ../../../home/sardor.nix;
sakhib = import ../../../home/sakhib.nix;
};
};
};
Expand Down
8 changes: 4 additions & 4 deletions modules/nixos/users/sardor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
}: {
config = {
users.users = {
sakhib = {
sardor = {
isNormalUser = true;
description = "Sokhibjon Orzikulov";
description = "Sardor Qodirjonov";
initialPassword = "F1st1ng15300Buck$!?";
openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDAGqU+JleLM0T44P2quirtLPrhFExOi6EOe0GYXkTFcTSjhw9LqiuX1/FbqNdKTaP9k6CdV3xc/8Z5wxbNOhpcPi9XLoupv9oNyIew7QYl+ZoAck6/qPsM7uptGYCwo0/ErzPNLd3ERD3KT1axCqrI6rWJ+JFOMAPtGeAZZxIedksViZ5SuNhpzXCIzS2PACqDTxFj7JwXK/pQ200h9ZS0MSh7iLKggXQfRVDndJxRnVY69NmbRa4MqkjgyxqWSDbqrDAXuTHpqKJ5kpXJ6p2a82EIHcCwXXpEmLwKxatxWJWJb9nurm3aS74BYmT3pRVVSPC6n5a2LWN9GxzvVh3AXXZtWGvjXSqBxHdSyUoDPuZnDneycdRC5vs6I1jSGTyDFdc4Etq1M5uUYb6SqCjJIBvTNqVnOf8nzFwl/ENvc8sbIVtILgAbBdwDiiQSu8xppqWMZfkQJy+uI5Ok7TZ8o5rGIblzfKyTiljCQb7RO7Klg3TwysetREn8ZEykBx0= This world soon will cherish into my darkness of my madness"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATIYPqUdcP64tufjGii7LNncg5N2AzX7fj4JH3Vtdq2 [email protected]"
];
extraGroups = [ "networkmanager" "wheel" "docker" "admins" ];
};
Expand All @@ -23,7 +23,7 @@
extraSpecialArgs = { inherit inputs outputs; };
users = {
# Import your home-manager configuration
sakhib = import ../../../home/sardor.nix;
sardor = import ../../../home/sardor.nix;
};
};
};
Expand Down

0 comments on commit 8cf7db2

Please sign in to comment.