{ system, stateVersion, home-manager, lib, ... }: { imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [ ../../digital-ocean/configuration.nix home-manager.nixosModules.home-manager ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; deployment.targetHost = "143.110.158.6"; networking.hostName = "titan"; services.openssh.enable = true; programs.mosh.enable = true; home-manager = { useGlobalPkgs = true; useUserPackages = true; users.jrpotter = import ../../users/jrpotter; # Used to pass non-default parameters to submodules. extraSpecialArgs = { inherit system stateVersion; }; }; users.users.jrpotter = { isNormalUser = true; extraGroups = [ "docker" "networkmanager" "wheel" ]; }; system.stateVersion = stateVersion; }