From 26bfef46d0943e4ff55619d39ddc81756c8dfc6b Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Sat, 24 Sep 2022 12:18:54 +1000 Subject: [PATCH] basic configuration of sincerity (incomplete) --- nixos/configuration.nix | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 52a6006..96ba1d7 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -40,27 +40,14 @@ # Remove if you wish to disable unfree packages for your system nixpkgs.config.allowUnfree = true; - # FIXME: Add the rest of your current configuration + networking.hostName = "sincerity"; - # 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 = { - # 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"; + infra = { isNormalUser = true; openssh.authorizedKeys.keys = [ - # TODO: Add your SSH public key(s) here, if you plan on using SSH to connect + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDM0Zvei46x/yZl/IeBCq6+IYQQ0avulzVyBysF9cPigZMCybWRV7IEU+E3k9t6JrbdbdGfJkcZIWmsWDdKS8W8mBnZpVoT0ffLynu8JQ/TKdGm4Qv6bgUeKNrGsNv0ZPs2CDaGSLj0oJfRF7Ko10tcLP0vW+yujrh+y6TH/vVzJioaV4TGvtCUpn+wEQah9ROwPQLUUofsSWdnRsDJ/gp37zXWs4l5wyjSKtP3O9RZUP7kBekbSqEgSXiTk0oUQSVqIWl9NDiP6onk/gSOjXsR/JPqsSN/XI/c/yj6gyY0f51Ru2D7iBxuMJIJcWV+rU6coIj+ULcQWLzt/7TI8jq5AOOzI/ll4zbL24Eo84Rz+TP9tvMMhDZ0VaMN22AJ8qQEjc5P09tWKsX7Jg39XelyV1jHXncE4yvIE9F4RSCHzWCeKeXakizQNuzSaxTxIExRFYHjNW5bR6+3MTGwVrEIXU+qML+0yFTR86MT+tdY5AreAJQLwbog79O1NupeXJE= anish@curve" ]; - # TODO: Be sure to add any other groups you need (such as networkmanager, audio, docker, etc) extraGroups = [ "wheel" ]; }; };