{ config, lib, pkgs, inputs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ]; boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/sda"; nix.settings.experimental-features = ["nix-command" "flakes" ]; networking.hostName = "nixos"; # Define your hostname. users.users.yadunut = { isNormalUser = true; extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. packages = with pkgs; [ neovim wget ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJXOpmWsAnl2RtOuJJMRUx+iJTwf2RWJ1iS3FqXJFzFG" ]; }; security.sudo.wheelNeedsPassword = false; environment.systemPackages = with pkgs; [ git neovim wget inputs.agenix.packages."${pkgs.system}".default ]; age.secrets.tailscale.file = ./secrets/tailscale.age; # List services that you want to enable: # Enable the OpenSSH daemon. services.openssh.enable = true; services.tailscale = { enable = true; authKeyFile = config.age.secrets.tailscale.path; extraUpFlags = [ "--login-server" "http://ts.yadunut.com:444" ]; }; environment.variables.EDITOR = "nvim"; system.stateVersion = "23.11"; # Did you read the comment? }