-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
6 changed files
with
71 additions
and
8 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,36 @@ | ||
{ | ||
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 = "muzaffar"; | ||
homeDirectory = "/home/muzaffar"; | ||
|
||
# Don't check if home manager is same as nixpkgs | ||
enableNixpkgsReleaseCheck = false; | ||
}; | ||
|
||
programs.neovim = { | ||
enable = true; | ||
defaultEditor = true; | ||
viAlias = true; | ||
vimAlias = true; | ||
}; | ||
|
||
# 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
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
{ | ||
# List your users here | ||
sakhib = import ./sakhib.nix; | ||
muzaffar = import ./muzaffar.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
pkgs, | ||
inputs, | ||
outputs, | ||
lib, | ||
config, | ||
packages, | ||
... | ||
}: { | ||
config = { | ||
users.users = { | ||
muzaffar = { | ||
isNormalUser = true; | ||
description = "Muzaffar Anasbekov"; | ||
initialPassword = "2ReTpN1XG2VOR4aR"; | ||
openssh.authorizedKeys.keys = [ | ||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJHDSH+E/7791S2x2QF3WsQU1nnr7WNLyK1BubDmOeib muzaffar.gaming7@gmail.com" | ||
]; | ||
extraGroups = ["networkmanager" "wheel" "docker" "admins"]; | ||
}; | ||
}; | ||
|
||
home-manager = { | ||
extraSpecialArgs = {inherit inputs outputs;}; | ||
users = { | ||
# Import your home-manager configuration | ||
muzaffar = import ../../../home/muzaffar.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