mirror of
https://github.com/heyitschloehawthorne/nix-config.git
synced 2025-12-15 10:48:39 +11:00
Added packages and started terminal setup
This commit is contained in:
@@ -24,10 +24,21 @@
|
||||
# Import your generated (nixos-generate-config) hardware configuration
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Import home-manager's NixOS module
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
|
||||
# Import system packages
|
||||
./pkgs.nix
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs outputs; };
|
||||
users = {
|
||||
# Import your home-manager configuration
|
||||
chloe = import ../home-manager/home.nix;
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs = {
|
||||
# You can add overlays here
|
||||
overlays = [
|
||||
@@ -121,6 +132,7 @@
|
||||
users.users = {
|
||||
chloe = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
openssh.authorizedKeys.keys = [
|
||||
# TODO: Add your SSH public key(s) here, if you plan on using SSH to connect
|
||||
];
|
||||
@@ -128,6 +140,9 @@
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
|
||||
# This setups a SSH server. Very important if you're setting up a headless system.
|
||||
# Feel free to remove if you don't need it.
|
||||
services.openssh = {
|
||||
|
||||
Reference in New Issue
Block a user