This commit is contained in:
Mans Ziesel 2023-06-06 17:30:46 +02:00
parent f3af31e7b9
commit 2ca9862133
2 changed files with 9 additions and 7 deletions

View File

@ -17,7 +17,7 @@
# nix-colors.url = "github:misterio77/nix-colors";
};
outputs = { nixpkgs, ... }@inputs: {
outputs = { nixpkgs, home-manager, ... }@inputs: {
# NixOS configuration entrypoint
# Available through 'nixos-rebuild --flake .#your-hostname'
nixosConfigurations = {

View File

@ -7,7 +7,7 @@
imports = [
# If you want to use modules from other flakes (such as nixos-hardware):
inputs.hardware.nixosModules.common-cpu-amd
inputs.hardware.nixosModules.common-gpu-nvidia
# inputs.hardware.nixosModules.common-gpu-nvidia
# You can also split up your configuration and import pieces of it here:
# ./users.nix
@ -131,17 +131,19 @@
# Feel free to remove if you don't need it.
services.openssh = {
enable = true;
# Forbid root login through SSH.
permitRootLogin = "yes";
# Use keys only. Remove if you want to SSH using password (not recommended)
passwordAuthentication = false;
settings = {
# Forbid root login through SSH.
permitRootLogin = "yes";
# Use keys only. Remove if you want to SSH using password (not recommended)
passwordAuthentication = false;
};
};
home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {
# Import your home-manager configuration
mans = import ../home-manager;
mans = import ../home-manager/home.nix;
};
};