-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ inputs | ||
, lib | ||
, pkgs | ||
, config | ||
, outputs | ||
, packages | ||
, self | ||
, ... | ||
}: { | ||
imports = [ | ||
outputs.homeManagerModules.zsh | ||
outputs.homeManagerModules.nixpkgs | ||
outputs.homeManagerModules.packages | ||
]; | ||
|
||
# This is required information for home-manager to do its job | ||
home = { | ||
stateVersion = "24.05"; | ||
username = "jakhongir"; | ||
homeDirectory = "/home/jakhongir"; | ||
|
||
# Tell it to map everything in the `config` directory in this | ||
# repository to the `.config` in my home-manager directory | ||
file.".config" = { | ||
source = ../.github/configs/config; | ||
recursive = true; | ||
}; | ||
|
||
file.".local/share" = { | ||
source = ../.github/configs/share; | ||
recursive = true; | ||
}; | ||
|
||
# Don't check if home manager is same as nixpkgs | ||
enableNixpkgsReleaseCheck = false; | ||
}; | ||
|
||
# Let's enable home-manager | ||
programs.home-manager.enable = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ pkgs | ||
, inputs | ||
, outputs | ||
, lib | ||
, config | ||
, packages | ||
, ... | ||
}: { | ||
config = { | ||
users.users = { | ||
jakhongir = { | ||
isNormalUser = true; | ||
description = "Jakhongir Ravshanov"; | ||
initialPassword = "F1st1ng15300Buck$!?"; | ||
openssh.authorizedKeys.keys = [ | ||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPv6diUR/ACrAaO5ILnPYqbj+wqZIUZTYKr0ccVnftfs jony@jonys-arch" | ||
]; | ||
extraGroups = [ "networkmanager" "wheel" "docker" "admins" ]; | ||
}; | ||
}; | ||
|
||
home-manager = { | ||
extraSpecialArgs = { inherit inputs outputs; }; | ||
users = { | ||
# Import your home-manager configuration | ||
jakhongir = import ../../../home/jakhongir.nix; | ||
}; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters