diff --git a/flake.nix b/flake.nix index e19dffa..2454b8a 100644 --- a/flake.nix +++ b/flake.nix @@ -59,12 +59,22 @@ # NixOS configuration entrypoint # Available through 'nixos-rebuild --flake .#your-hostname' nixosConfigurations = { - # FIXME replace with your hostname + #Personal laptop, thinkpad t490 athame = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs outputs;}; modules = [ + # > Our main nixos configuration file < + ./nixos/kde-desktop.nix + ./nixos/configuration.nix + ]; + }; + #Work laptop, dell g15. Nvidia gpu + metatron = nixpkgs.lib.nixosSystem { + specialArgs = {inherit inputs outputs;}; + modules = [ + # > Our main nixos configuration file < + ./nixos/kde-desktop.nix ./nixos/configuration.nix - ./nixos/default.nix ]; }; }; diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 4195ac2..c8b7600 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -71,18 +71,28 @@ auto-optimise-store = true; }; + # FIXME: Add the rest of your current configuration + # TODO: Set your hostname networking.hostName = "your-hostname"; + # TODO: This is just an example, be sure to use whatever bootloader you prefer boot.loader.systemd-boot.enable = true; + # TODO: Configure your system-wide user settings (groups, etc), add more users as needed. users.users = { - traverseda = { - initialPassword = "changeme"; + # FIXME: Replace with your username + your-username = { + # TODO: You can set an initial password for your user. + # If you do, you can skip setting a root password by passing '--no-root-passwd' to nixos-install. + # Be sure to change it (using passwd) after rebooting! + initialPassword = "correcthorsebatterystaple"; isNormalUser = true; openssh.authorizedKeys.keys = [ + # TODO: Add your SSH public key(s) here, if you plan on using SSH to connect ]; - extraGroups = [ "networkmanager" "wheel" "dialout" "docker" "plugdev" ]; + # TODO: Be sure to add any other groups you need (such as networkmanager, audio, docker, etc) + extraGroups = ["wheel"]; }; }; @@ -94,7 +104,7 @@ # Forbid root login through SSH. PermitRootLogin = "no"; # Use keys only. Remove if you want to SSH using password (not recommended) - PasswordAuthentication = true; + PasswordAuthentication = false; }; };